Skip to content

Commit c1d1db0

Browse files
committed
Black reformatting
1 parent 9378b2b commit c1d1db0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydmd/bopdmd.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,10 @@ def compute_operator(self, H, t):
876876
print(msg.format(num_consecutive_fails))
877877
runtime_warning_given = True
878878

879-
if self._remove_bad_bags and num_consecutive_fails == self._bag_maxfail:
879+
if (
880+
self._remove_bad_bags
881+
and num_consecutive_fails == self._bag_maxfail
882+
):
880883
msg = (
881884
"Terminating the bagging routine due to "
882885
"{} many trials without convergence."

0 commit comments

Comments
 (0)