summaryrefslogtreecommitdiffstats
path: root/tests/HE12.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-07 00:02:53 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-07 00:02:53 -0400
commit90f6cedb9eae73fdf0c44c34874c7e67f39e02c2 (patch)
treea4fc804d92981da2d8e4354093e0b6df99cc3ed5 /tests/HE12.cpp
parent2b438504e0fc68ea8224e88675247e555ee6a6e6 (diff)
downloadvz-90f6cedb9eae73fdf0c44c34874c7e67f39e02c2.tar.xz
Add iteration count to Integrator.
Diffstat (limited to 'tests/HE12.cpp')
-rw-r--r--tests/HE12.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/HE12.cpp b/tests/HE12.cpp
index 511a8e0..9a22d20 100644
--- a/tests/HE12.cpp
+++ b/tests/HE12.cpp
@@ -26,6 +26,7 @@ main()
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
<< "h: " << integrator.h() << std::endl
+ << "iterations: " << integrator.iterations() << std::endl
<< "rejections: " << integrator.rejections() << std::endl;
double error = std::fabs(expected - actual)/expected;