Skip to content

Commit

Permalink
fixing the terms in the LV equation for dynamics.ode
Browse files Browse the repository at this point in the history
  • Loading branch information
MatisPatel committed May 30, 2024
1 parent 94e344a commit 92619b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neuromancer/dynamics/ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ def __init__(self, insize=2, outsize=2):
def ode_equations(self, x):
x1 = x[:, [0]]
x2 = x[:, [-1]]
dx1 = x1 - 0.1*x1*x2
dx2 = 1.5*x2 + 0.75*0.1*x1*x2
dx1 = 1.1 * x1 - 0.4*x1*x2
dx2 = 0.1*x1*x2 - 0.4*x2
return torch.cat([dx1, dx2], dim=-1)


Expand Down

0 comments on commit 92619b1

Please sign in to comment.