Skip to content

Commit

Permalink
bugfix: EE4 was not returning solution
Browse files Browse the repository at this point in the history
  • Loading branch information
chichilalescu committed Dec 8, 2014
1 parent e827dc0 commit 3619410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyNT/ode.py
Expand Up @@ -76,6 +76,7 @@ def EE4(self, h, nsteps, X0):
X4 += self.rhs(X4)*h/4
X4 += self.rhs(X4)*h/4
X[t] = 32*X4/3. - 13.5*X3 + 4*X2 - X1/6
return X
def EE4_alt(self, h, nsteps, X0):
X = np.zeros((nsteps+1,) + X0.shape,
X0.dtype)
Expand Down

0 comments on commit 3619410

Please sign in to comment.