Skip to content

Commit 3380089

Browse files
committed
Fix indentation
1 parent 692bc44 commit 3380089

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/stopping_criterion.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ function indicates_convergence(stop_when_all::StopWhenAll)
152152
end
153153

154154
function Base.show(io::IO, ::MIME"text/plain", stop_when_all::StopWhenAll)
155-
print(io, "StopWhenAll with the Stopping Criteria")
155+
print(io, "StopWhenAll with the Stopping Criteria:")
156156
for stopping_criterion in stop_when_all.criteria
157-
println(io)
157+
print(io, "\n ")
158158
replace(io, string(stopping_criterion), "\n" => "\n ") #increase indent
159159
end
160160
return nothing
@@ -205,7 +205,7 @@ end
205205
function Base.show(io::IO, ::MIME"text/plain", stop_when_any::StopWhenAny)
206206
print(io, "StopWhenAny with the Stopping Criteria")
207207
for stopping_criterion in stop_when_any.criteria
208-
println(io)
208+
print(io, "\n ")
209209
replace(io, string(stopping_criterion), "\n" => "\n ") #increase indent
210210
end
211211
return nothing

0 commit comments

Comments
 (0)