From 90f6cedb9eae73fdf0c44c34874c7e67f39e02c2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 7 Oct 2010 00:02:53 -0400 Subject: Add iteration count to Integrator. --- tests/RKF45.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/RKF45.cpp') diff --git a/tests/RKF45.cpp b/tests/RKF45.cpp index 8b87216..1ac3e4f 100644 --- a/tests/RKF45.cpp +++ b/tests/RKF45.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; -- cgit v1.2.3