Skip to content

Commit 37efbb8

Browse files
author
Markus Semmler
committed
Reformat stopping.py.
1 parent a27a655 commit 37efbb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pydvl/value/stopping.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,11 @@ def completion(self) -> float:
554554

555555
def reset(self):
556556
self.start = time()
557-
557+
558558
def __str__(self):
559559
return f"MaxTime(seconds={self.max_seconds})"
560560

561561

562-
563562
class HistoryDeviation(StoppingCriterion):
564563
r"""A simple check for relative distance to a previous step in the
565564
computation.

0 commit comments

Comments
 (0)