Fixed deprecated boost-test-tools construct

[SVN r66819]
This commit is contained in:
Barend Gehrels
2010-11-28 14:38:59 +00:00
parent 853c097413
commit 426a17f0f2

View File

@@ -33,7 +33,7 @@
inline void check(double v, double ve, std::string const& name, std::string const& axis)
{
if (! boost::test_tools::check_is_close(v, ve, boost::test_tools::percent_tolerance(0.001)))
if (! boost::test_tools::check_is_close(v, ve, 0.001))
{
std::ostringstream out;
out << "\n" << name << " " << axis << " -> " << v << " != " << ve;