diff --git a/PyStemmusScope/bmi.py b/PyStemmusScope/bmi.py index 6b5979f6..1014ace2 100644 --- a/PyStemmusScope/bmi.py +++ b/PyStemmusScope/bmi.py @@ -190,7 +190,7 @@ def update_until(self, time: float) -> None: Args: time: A model time later than the current model time. """ - while time < self.get_current_time(): + while time > self.get_current_time(): self.update() def finalize(self) -> None: