From 7a914d0cd0083f3cd6e3439835aafaa9d91ee526 Mon Sep 17 00:00:00 2001 From: Alan Kaptanoglu Date: Thu, 8 Sep 2022 09:33:52 -0700 Subject: [PATCH] Fixed small error in one of the flow definitions. --- dysts/flows.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dysts/flows.py b/dysts/flows.py index 3e7be35..8fc3567 100644 --- a/dysts/flows.py +++ b/dysts/flows.py @@ -1313,10 +1313,10 @@ def _postprocessing(x, y, z): class HindmarshRose(DynSys): @staticjit def _rhs(x, y, z, t, a, b, c, d, s, tx, tz): - xdot = -tx * x + y - a * x ** 3 + b * x ** 2 + z + xdot = -x + 1 / tx * y - a / tx * x ** 3 + b / tx * x ** 2 + 1 / tx * z ydot = -a * x ** 3 - (d - b) * x ** 2 + z - zdot = -s * x - z + c - return xdot / tx, ydot, zdot / tz + zdot = -s / tz * x - 1 / tz * z + c / tz + return xdot, ydot, zdot class Colpitts(DynSys):