From db3b3ce81f03eafb626455f60ca1d2cf2f4a1176 Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@gmail.com>
Date: Thu, 31 May 2012 15:32:19 -0400
Subject: Fix compatibility with new GCCs.

---
 src/vZ/Adaptive.hpp | 10 +++++-----
 src/vZ/Simple.hpp   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/vZ')

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());
   }
 }
-- 
cgit v1.2.3