aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/henon_map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/henon_map.hpp')
-rw-r--r--chaos/src/henon_map.hpp2
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);