Skip to content

Commit

Permalink
interval 3 fix from #116
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 30, 2024
1 parent 8e8a7c4 commit b90b85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petric.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Callback(cil_callbacks.Callback):
CIL Callback but with `self.skip_iteration` checking `min(self.interval, algo.update_objective_interval)`.
TODO: backport this class to CIL.
"""
def __init__(self, interval: int = 1, **kwargs):
def __init__(self, interval: int = 3, **kwargs):
super().__init__(**kwargs)
self.interval = interval

Expand Down

0 comments on commit b90b85b

Please sign in to comment.