Skip to content

Commit

Permalink
reorder check.
Browse files Browse the repository at this point in the history
Signed-off-by: my-vegetable-has-exploded <[email protected]>
  • Loading branch information
my-vegetable-has-exploded committed Mar 14, 2024
1 parent 313d7c4 commit cc64908
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/base/src/vector/veci8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,7 @@ mod tests_2 {
let ref_y = y_owned.for_borrow();
let result = l2_distance(&ref_x, &ref_y);
assert!(
(result.0 - result_expected).abs() / result_expected < 0.05
|| (result.0 - result_expected).abs() < 1.0
result_expected < 1.0 || (result.0 - result_expected).abs() / result_expected < 0.05
);
}
}

0 comments on commit cc64908

Please sign in to comment.