From 5c060088e034b1c4ec9c3ed686573c0ee037c12d Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Thu, 27 Mar 2025 23:24:38 +0100 Subject: [PATCH] Fix step() function --- python/hccd/path_tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/hccd/path_tracker.py b/python/hccd/path_tracker.py index 1013ad3..f42a98f 100644 --- a/python/hccd/path_tracker.py +++ b/python/hccd/path_tracker.py @@ -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."""