From ef53e19b3d9019b1b1f3345390f55ae9229ce390 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Sat, 22 Oct 2005 15:11:45 +0000 Subject: cleanups and new system svn path=/trunk/externals/tb/; revision=3750 --- chaos/src/chua.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'chaos/src/chua.hpp') diff --git a/chaos/src/chua.hpp b/chaos/src/chua.hpp index 3d44708..997116c 100644 --- a/chaos/src/chua.hpp +++ b/chaos/src/chua.hpp @@ -34,10 +34,9 @@ class chua: public ode_base { public: - chua() + chua(): + ode_base(3) { - CHAOS_PRECONSTRUCTOR; - CHAOS_PAR_INIT(method,2); CHAOS_PAR_INIT(dt,0.05); @@ -49,15 +48,10 @@ public: CHAOS_PAR_INIT(b,30); CHAOS_PAR_INIT(alpha,30); CHAOS_PAR_INIT(beta,30); - - CHAOS_POSTCONSTRUCTOR; - - ode_base_alloc(); } ~chua() { - ode_base_free(); } virtual void m_system(data_t* deriv, data_t* data) -- cgit v1.2.1