Skip to content

Commit

Permalink
fixup!: cargo fmt failed
Browse files Browse the repository at this point in the history
  • Loading branch information
manoflearning committed Sep 17, 2024
1 parent fe860c6 commit 40b6802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ fn test_storage_sum() {
let mut b = Storage::new(0.0, vec_size, DEVICE);
Storage::sum(&a, &mut b, idx_1, idx_2, size);

assert!((y[idx_2] - b.get_items(idx_2, 1)[0]).abs() < 1e-5 * y[idx_2].abs()); // not sure this is right
assert!((y[idx_2] - b.get_items(idx_2, 1)[0]).abs() < 1e-5 * y[idx_2].abs());
}
}
#[test]
Expand Down

0 comments on commit 40b6802

Please sign in to comment.