Skip to content

Commit

Permalink
one more missed Approx
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-St-Young committed Jul 5, 2022
1 parent fc38389 commit f4ed10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Particle/LongRange/tests/test_kcontainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ TEST_CASE("kcontainer at gamma in 2D", "[longrange]")
for (int ldim = 0; ldim < ndim; ldim++)
{
CHECK(klists.kpts[ik][ldim] == gvecs[ik][ldim]);
CHECK(klists.kpts[ik][ldim] * blat == klists.kpts_cart[ik][ldim]);
CHECK(klists.kpts[ik][ldim] * blat == Approx(klists.kpts_cart[ik][ldim]));
}
}
}
Expand Down

0 comments on commit f4ed10d

Please sign in to comment.