Fix step() function

This commit is contained in:
Andreas Tsouchlos 2025-03-27 23:24:38 +01:00
parent 9ab80a8385
commit 5c060088e0

View File

@ -29,7 +29,7 @@ class PathTracker:
def step(self, y):
"""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,]:
"""Perform one predictor-corrector step, returning intermediate results."""