Skip to content

Commit

Permalink
Recover test precision.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryscan committed Jan 15, 2024
1 parent ce7572f commit 54de901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tensor/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ mod tests {

for (index, (a, b)) in Iterator::zip(x_host.into_iter(), ans.into_iter()).enumerate() {
assert!(
is_approx_eps(a, b, 0.01),
is_approx_eps(a, b, 1.0e-3),
"Failed at index {index}, computed: {a} vs. answer: {b}"
);
}
Expand Down

0 comments on commit 54de901

Please sign in to comment.