Skip to content

Commit

Permalink
interval 3 fix from #116
Browse files Browse the repository at this point in the history
casperdcl committed Sep 30, 2024

Verified

This commit was signed with the committer’s verified signature.
casperdcl Casper da Costa-Luis
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
@@ -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

0 comments on commit b90b85b

Please sign in to comment.