Skip to content

Commit

Permalink
Removing inline comments related to previous commit, as line numbers …
Browse files Browse the repository at this point in the history
…will change in the future
  • Loading branch information
knutfrode authored Mar 13, 2024
1 parent 6cd7288 commit 10903f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendrift/models/basemodel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1974,9 +1974,9 @@ def run(self,
logger.info(
'No active but %s scheduled elements, skipping timestep %s (%s)'
% (self.num_elements_scheduled(),
self.steps_calculation + 1 , self.time)) # LH correction : +1 to be consistent with the line 2048
self.steps_calculation + 1 , self.time))
self.state_to_buffer() # Append status to history array
self.steps_calculation += 1 # LH correction : Move from line 2020 to 2030 to propagate the step calculation after the state_to_buffer and to be consistent with the line 2106
self.steps_calculation += 1
if self.time is not None:
self.time = self.time + self.time_step
continue
Expand Down

0 comments on commit 10903f9

Please sign in to comment.