aboutsummaryrefslogtreecommitdiff
path: root/chaos
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2005-05-11 20:26:46 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:11:59 +0200
commit5e3a5a223c834adc8b27d76cbe4b1e57f73b6cc0 (patch)
tree100f2a49db51103cb7c18a509452554abe56c22c /chaos
parentccfab7528a3acb2703eabb59e05b10de9a0026c8 (diff)
thnx thomas
svn path=/trunk/externals/tb/; revision=2960
Diffstat (limited to 'chaos')
-rw-r--r--chaos/src/driven_anharmonic.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chaos/src/driven_anharmonic.hpp b/chaos/src/driven_anharmonic.hpp
index 56d81e0..f4c8da4 100644
--- a/chaos/src/driven_anharmonic.hpp
+++ b/chaos/src/driven_anharmonic.hpp
@@ -71,7 +71,7 @@ public:
m_t += m_dt;
if (m_t > 2 * M_PI)
- m_t = fmod(m_t, (data_t)2*M_PI);
+ m_t = fmod(m_t, (data_t)(M_PI*2));
}
data_t m_t;