summaryrefslogtreecommitdiffstats
path: root/tests/HE12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HE12.cpp')
-rw-r--r--tests/HE12.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/HE12.cpp b/tests/HE12.cpp
index 20b37f2..fd2fb56 100644
--- a/tests/HE12.cpp
+++ b/tests/HE12.cpp
@@ -51,7 +51,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 > 8.7e-7) {
std::cerr << "Error: " << 100.0*error << "%" << std::endl;
return EXIT_FAILURE;