Fix step() function
This commit is contained in:
parent
9ab80a8385
commit
5c060088e0
@ -29,7 +29,7 @@ class PathTracker:
|
|||||||
|
|
||||||
def step(self, y):
|
def step(self, y):
|
||||||
"""Perform one predictor-corrector step."""
|
"""Perform one predictor-corrector step."""
|
||||||
return self.transparent_step(y)[0]
|
return self.transparent_step(y)[3]
|
||||||
|
|
||||||
def transparent_step(self, y) -> typing.Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray,]:
|
def transparent_step(self, y) -> typing.Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray,]:
|
||||||
"""Perform one predictor-corrector step, returning intermediate results."""
|
"""Perform one predictor-corrector step, returning intermediate results."""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user