Skip to content

Commit

Permalink
add tolerance to test
Browse files Browse the repository at this point in the history
  • Loading branch information
tevans committed Dec 10, 2024
1 parent fa6b299 commit e998b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_CoherentSum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ BOOST_AUTO_TEST_CASE ( test_constructor )

for( auto& event : events )
{
BOOST_CHECK( eval(event) == test.getValNoCache(event) );
BOOST_TEST( eval(event) == test.getValNoCache(event), boost::test_tools::tolerance(1e-17) );
}
}

0 comments on commit e998b81

Please sign in to comment.