From 5e3a5a223c834adc8b27d76cbe4b1e57f73b6cc0 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 11 May 2005 20:26:46 +0000 Subject: thnx thomas svn path=/trunk/externals/tb/; revision=2960 --- chaos/src/driven_anharmonic.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chaos/src') 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; -- cgit v1.2.1