diff options
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; |