From 2c2b69e1df183f118c45d74c18c7e84934aaff1f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 11 Oct 2010 02:38:46 -0400 Subject: Support systems of ODEs. --- src/vZ/Integrator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vZ/Integrator.hpp') diff --git a/src/vZ/Integrator.hpp b/src/vZ/Integrator.hpp index c6d6fbe..cb9649a 100644 --- a/src/vZ/Integrator.hpp +++ b/src/vZ/Integrator.hpp @@ -39,9 +39,9 @@ namespace vZ typedef typename Traits::Scalar Scalar; typedef std::tr1::function Function; - // By default, y and t start at zero, h starts UNDEFINED + // By default, y, t, and h start UNDEFINED GenericIntegrator(Function f) - : m_f(f), m_y(0), m_x(0), m_iterations(0) { } + : m_f(f),m_iterations(0) { } virtual ~GenericIntegrator() { } GenericIntegrator& y(Y y) { m_y = y; return *this; } -- cgit v1.2.3