summaryrefslogtreecommitdiff
path: root/libs/numeric/odeint/test/numeric/rosenbrock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/numeric/odeint/test/numeric/rosenbrock.cpp')
-rw-r--r--libs/numeric/odeint/test/numeric/rosenbrock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/numeric/odeint/test/numeric/rosenbrock.cpp b/libs/numeric/odeint/test/numeric/rosenbrock.cpp
index 0bb83650b..2b6a26788 100644
--- a/libs/numeric/odeint/test/numeric/rosenbrock.cpp
+++ b/libs/numeric/odeint/test/numeric/rosenbrock.cpp
@@ -73,7 +73,7 @@ BOOST_AUTO_TEST_CASE( rosenbrock4_numeric_test )
double dt = 0.5;
stepper.do_step( std::make_pair( sys() , jacobi() ) , x0 , 0.0 , x1 , dt );
- const double f = 2.0 * std::abs( sin(dt) - x1(0) ) / std::pow( dt , o );
+ const double f = 2.0 * std::abs( std::sin(dt) - x1(0) ) / std::pow( dt , o );
std::cout << o << " , " << f << std::endl;
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE( rosenbrock4_numeric_test )
{
stepper.do_step( std::make_pair( sys() , jacobi() ) , x0 , 0.0 , x1 , dt );
std::cout << "Testing dt=" << dt << std::endl;
- BOOST_CHECK_SMALL( std::abs( sin(dt) - x1(0) ) , f*std::pow( dt , o ) );
+ BOOST_CHECK_SMALL( std::abs( std::sin(dt) - x1(0) ) , f*std::pow( dt , o ) );
dt *= 0.5;
}
}