diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2005-01-01 11:06:58 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:58 +0200 |
commit | 2a0d532e5965402f19f74f70dfdcc7efd1055b15 (patch) | |
tree | 65cf38a9d098e9867287b7a274220da401cb6b57 /chaos/src/coupled_logistic.hpp | |
parent | 2f98df88850ab893c7acf8ea2b9000c03c2e17da (diff) |
speedup using function pointers
svn path=/trunk/externals/tb/; revision=2439
Diffstat (limited to 'chaos/src/coupled_logistic.hpp')
-rw-r--r-- | chaos/src/coupled_logistic.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chaos/src/coupled_logistic.hpp b/chaos/src/coupled_logistic.hpp index eb5b326..85b6928 100644 --- a/chaos/src/coupled_logistic.hpp +++ b/chaos/src/coupled_logistic.hpp @@ -32,7 +32,7 @@ public: coupled_logistic() { m_num_eq = 2; - m_data = new data_t[2]; + m_data = new data_t[m_num_eq]; CHAOS_SYS_INIT(e, 0.06); CHAOS_SYS_INIT(r, 3.7); CHAOS_SYS_INIT(x, 0.1); |