Commit 06090f99 authored by Philipp Arras's avatar Philipp Arras
Browse files

Unify verbosity behaviour of GradientNormController

parent e110e7d5
Pipeline #25655 passed with stage
in 6 minutes and 9 seconds
......@@ -121,7 +121,7 @@ class GradientNormController(IterationController):
# Are we done?
if self._iteration_limit is not None:
if self._itcount >= self._iteration_limit:
if self._itcount >= self._iteration_limit and self._name is not None:
dobj.mprint(
"Warning:Iteration limit reached. Assuming convergence")
return self.CONVERGED
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment