diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2005-06-09 12:52:17 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:59 +0200 |
commit | 2434290915cda6ed855e4dc2249312153b995817 (patch) | |
tree | f6c2a4c5c5c82cfcfb931dd8fa91ebb16b982721 /chaos/src/gauss_map.hpp | |
parent | 5fda6973fd8d94872a61d99d264ee5902824139d (diff) |
changed initialisation
svn path=/trunk/externals/tb/; revision=3145
Diffstat (limited to 'chaos/src/gauss_map.hpp')
-rw-r--r-- | chaos/src/gauss_map.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chaos/src/gauss_map.hpp b/chaos/src/gauss_map.hpp index 4d62654..1e023d2 100644 --- a/chaos/src/gauss_map.hpp +++ b/chaos/src/gauss_map.hpp @@ -33,14 +33,16 @@ class gauss_map: public: gauss_map() { - m_num_eq = 1; - m_data = new data_t[m_num_eq]; - CHAOS_SYS_INIT(x,0.5); + CHAOS_PRECONSTRUCTOR; + + CHAOS_SYS_INIT(x,0.5, 0); + + CHAOS_POSTCONSTRUCTOR; } ~gauss_map() { - delete m_data; + } virtual void m_step() |