Skip to content

Commit

Permalink
Fix update_until bug in BMI
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Nov 28, 2023
1 parent 4de0a59 commit fc2438d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyStemmusScope/bmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fc2438d

Please sign in to comment.