Skip to content

Commit

Permalink
remove kron mut
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Aug 6, 2024
1 parent 307e3d6 commit 2a4f6b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/linalg/src/kron.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn kron<T, +Mul<T>, +Copy<T>, +Drop<T>,>(
let mut array = array![];

for x_value in xs {
let mut ys_clone = ys;
let ys_clone = ys;
for y_value in ys_clone {
array.append(*x_value * *y_value);
}
Expand Down

0 comments on commit 2a4f6b8

Please sign in to comment.