From c0b4cb84e36bb86bab51a12736a33117daad1c9e Mon Sep 17 00:00:00 2001
From: Tavian Barnes <tavianator@gmail.com>
Date: Wed, 6 Oct 2010 09:56:51 -0400
Subject: Make {A,B}Coefficients types protected.

---
 src/vZ/simple.hpp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/vZ/simple.hpp b/src/vZ/simple.hpp
index 3b02472..706b52c 100644
--- a/src/vZ/simple.hpp
+++ b/src/vZ/simple.hpp
@@ -29,13 +29,14 @@ namespace vZ
   template <typename T>
   class GenericSimpleIntegrator : public GenericIntegrator<T>
   {
-  public:
-    typedef typename GenericIntegrator<T>::Function Function;
-
+  protected:
     // Coefficients in the tableau representation of the RK algorithm
     typedef std::vector<std::vector<T> > ACoefficients;
     typedef std::vector<T>               BCoefficients;
 
+  public:
+    typedef typename GenericIntegrator<T>::Function Function;
+
     GenericSimpleIntegrator(Function f, T dt,
                             ACoefficients a, BCoefficients b)
       : GenericIntegrator<T>(f, dt), m_a(a), m_b(b) { }
-- 
cgit v1.2.3