diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2005-05-11 20:26:46 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:59 +0200 |
commit | 5e3a5a223c834adc8b27d76cbe4b1e57f73b6cc0 (patch) | |
tree | 100f2a49db51103cb7c18a509452554abe56c22c /chaos | |
parent | ccfab7528a3acb2703eabb59e05b10de9a0026c8 (diff) |
thnx thomas
svn path=/trunk/externals/tb/; revision=2960
Diffstat (limited to 'chaos')
-rw-r--r-- | chaos/src/driven_anharmonic.hpp | 2 |
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; |