We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aeb445 commit 7aa39b7Copy full SHA for 7aa39b7
1 file changed
src/stopping_criterion.jl
@@ -105,7 +105,7 @@ function indicates_convergence(sc::StopWhenAll)
105
return any(indicates_convergence, sc.criteria)
106
end
107
108
-function Base.show(io::IO, sc::StopWhenAll)
+function Base.show(io::IO, ::MIME"text/plain", sc::StopWhenAll)
109
s = ""
110
for sc_i in sc.criteria
111
s = s * "\n * " * replace("$(sc_i)", "\n" => "\n ") #increase indent
@@ -154,7 +154,7 @@ end
154
function indicates_convergence(sc::StopWhenAny)
155
return all(indicates_convergence, sc.criteria)
156
157
-function Base.show(io::IO, sc::StopWhenAny)
+function Base.show(io::IO, ::MIME"text/plain", sc::StopWhenAny)
158
159
160
0 commit comments