diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/vZ/Adaptive.hpp | 10 | ||||
-rw-r--r-- | src/vZ/Simple.hpp | 2 |
3 files changed, 8 insertions, 6 deletions
@@ -10,6 +10,7 @@ /ltmain.sh /m4 /missing +/test-driver /ylwrap Makefile Makefile.in @@ -17,6 +18,7 @@ Makefile.in # Files created by `make check' /tests/*-test /tests/*.log +/tests/*.trs # pkg-config files *.pc diff --git a/src/vZ/Adaptive.hpp b/src/vZ/Adaptive.hpp index a422bb4..b940df0 100644 --- a/src/vZ/Adaptive.hpp +++ b/src/vZ/Adaptive.hpp @@ -103,14 +103,14 @@ namespace vZ // Attempt the integration step in a loop while (true) { if (m_k1Set) { - k = calculateK(m_k1, y, m_a); + k = this->calculateK(m_k1, y, m_a); } else if (m_fsal) { - k = calculateK(y, m_a); + k = this->calculateK(y, m_a); } else { - k = calculateK(m_a); - y = calculateY(k, m_b); + k = this->calculateK(m_a); + y = this->calculateY(k, m_b); } - Y yStar = calculateY(k, m_bStar); + Y yStar = this->calculateY(k, m_bStar); // Get an error estimate diff --git a/src/vZ/Simple.hpp b/src/vZ/Simple.hpp index 211acd6..8148ed3 100644 --- a/src/vZ/Simple.hpp +++ b/src/vZ/Simple.hpp @@ -56,7 +56,7 @@ namespace vZ void GenericSimpleIntegrator<Y>::step() { - this->y(calculateY(calculateK(m_a), m_b)); + this->y(this->calculateY(this->calculateK(m_a), m_b)); this->x(this->x() + this->h()); } } |