From b90b85bab935ad395ab2094589ecf87e5a978a33 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 30 Sep 2024 12:58:10 +0100 Subject: [PATCH] interval 3 fix from #116 --- petric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/petric.py b/petric.py index d4fb759..31e2d20 100755 --- a/petric.py +++ b/petric.py @@ -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