diff options
Diffstat (limited to 'chaos/src/henon_map.hpp')
-rw-r--r-- | chaos/src/henon_map.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chaos/src/henon_map.hpp b/chaos/src/henon_map.hpp index 9e379ae..b43034a 100644 --- a/chaos/src/henon_map.hpp +++ b/chaos/src/henon_map.hpp @@ -32,7 +32,7 @@ public: henon() { m_num_eq = 2; - m_data = new data_t[1]; + m_data = new data_t[m_num_eq]; CHAOS_SYS_INIT(x,0); CHAOS_SYS_INIT(y,0); |