aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/tent_map.hpp
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-10-22 15:11:45 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:12:00 +0200
commitef53e19b3d9019b1b1f3345390f55ae9229ce390 (patch)
tree94f88a833fa9046c0af0800656bab4fa4bc7f9ab /chaos/src/tent_map.hpp
parent8fb0d8ac8ed684a2084769cb0986effec439626f (diff)
cleanups and new system
svn path=/trunk/externals/tb/; revision=3750
Diffstat (limited to 'chaos/src/tent_map.hpp')
-rw-r--r--chaos/src/tent_map.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/chaos/src/tent_map.hpp b/chaos/src/tent_map.hpp
index e23fb73..9bd8e62 100644
--- a/chaos/src/tent_map.hpp
+++ b/chaos/src/tent_map.hpp
@@ -29,15 +29,12 @@ class tent_map:
public map_base
{
public:
- tent_map()
+ tent_map():
+ map_base(1)
{
- CHAOS_PRECONSTRUCTOR;
-
CHAOS_SYS_INIT(x, 0.6,0);
-
- CHAOS_POSTCONSTRUCTOR;
}
-
+
~tent_map()
{
@@ -49,7 +46,7 @@ public:
m_data[0] = 1 - 2*CHAOS_ABS(data);
}
-
+
CHAOS_SYSVAR_FUNCS_PRED(x, 0, m_pred_x);
bool m_pred_x(t_float f)
{