Skip to content

Commit

Permalink
fix typo in cross product (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs authored Mar 6, 2024
1 parent b9e1e58 commit d5dc768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dense/src/array/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ where
let b1 = other.get_value([1]).unwrap();
let b2 = other.get_value([2]).unwrap();

res[[0]] = a1 * b2 - a2 * a1;
res[[0]] = a1 * b2 - a2 * b1;
res[[1]] = a2 * b0 - a0 * b2;
res[[2]] = a0 * b1 - a1 * b0;
}
Expand Down

0 comments on commit d5dc768

Please sign in to comment.