diff options
Diffstat (limited to 'tests/EquationSystem.cpp')
-rw-r--r-- | tests/EquationSystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/EquationSystem.cpp b/tests/EquationSystem.cpp index b1fed00..0a929aa 100644 --- a/tests/EquationSystem.cpp +++ b/tests/EquationSystem.cpp @@ -59,7 +59,7 @@ main() << "Iterations: " << integrator.iterations() << std::endl << "Rejections: " << integrator.rejections() << std::endl; - double error = std::fabs(expected - actual)/expected; + double error = std::abs(expected - actual)/expected; if (error > 6.0e-7) { std::cerr << "Error: " << 100.0*error << "%" << std::endl; return EXIT_FAILURE; |