aboutsummaryrefslogtreecommitdiff
path: root/chaos/src/bungalow_tent_map.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'chaos/src/bungalow_tent_map.hpp')
-rw-r--r--chaos/src/bungalow_tent_map.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/chaos/src/bungalow_tent_map.hpp b/chaos/src/bungalow_tent_map.hpp
index dfb6e25..185753a 100644
--- a/chaos/src/bungalow_tent_map.hpp
+++ b/chaos/src/bungalow_tent_map.hpp
@@ -33,14 +33,14 @@
// taken from Willi-Hans Steeb: Chaos and Fractals
class bungalow_tent:
- protected map_base
+ public map_base
{
public:
bungalow_tent()
{
m_num_eq = 1;
m_data = new data_t[1];
- CHAOS_SYS_INIT(x, 0.5);
+ CHAOS_SYS_INIT(x, 0.6);
CHAOS_SYS_INIT(r, 0.5);
}
@@ -83,7 +83,7 @@ public:
return (f >= -1) && (f < 1);
}
- CHAOS_SYSVAR_FUNCS_PRED(r, 0, m_pred_r);
+ CHAOS_SYSPAR_FUNCS_PRED(r, m_pred_r);
bool m_pred_r(t_float f)
{
return (f >= -0.5) && (f < 1);