Skip to content

Commit

Permalink
fix t argument in modify_value
Browse files Browse the repository at this point in the history
  • Loading branch information
kaelyndunnell committed Nov 6, 2024
1 parent 436bb60 commit 7fd4921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/festim/stepsize.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def get_max_stepsize(self, t):
return self._max_stepsize(t)
return self._max_stepsize

def modify_value(self, value, nb_iterations, t):
def modify_value(self, value, nb_iterations, t=None):
if not self.is_adapt(t):
return value

Expand Down

0 comments on commit 7fd4921

Please sign in to comment.