aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/chua.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/chua.hpp')
-rw-r--r--chaos/src/chua.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/chaos/src/chua.hpp b/chaos/src/chua.hpp
index 997116c..f8c6e31 100644
--- a/chaos/src/chua.hpp
+++ b/chaos/src/chua.hpp
@@ -31,11 +31,10 @@
// taken from Viktor Avrutin: lecture notes
class chua:
- public ode_base
+ public ode_base<3>
{
public:
- chua():
- ode_base(3)
+ chua()
{
CHAOS_PAR_INIT(method,2);
CHAOS_PAR_INIT(dt,0.05);
@@ -50,10 +49,6 @@ public:
CHAOS_PAR_INIT(beta,30);
}
- ~chua()
- {
- }
-
virtual void m_system(data_t* deriv, data_t* data)
{
data_t x1 = data[0];