Skip to content

Commit b7fd3cc

Browse files
Merge pull request #695 from oscardssmith/maxeig-formating
print maxeig as a float
2 parents 2df59ce + 76236ae commit b7fd3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solutions/ode_solutions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function Base.show(io::IO, ::MIME"text/plain", s::DEStats)
5656
@printf io "%-50s %-d\n" "Number of rootfind condition calls:" s.ncondition
5757
@printf io "%-50s %-d\n" "Number of accepted steps:" s.naccept
5858
@printf io "%-50s %-d" "Number of rejected steps:" s.nreject
59-
iszero(s.maxeig) || @printf io "\n%-50s %-d" "Maximum eigenvalue recorded:" s.maxeig
59+
iszero(s.maxeig) || @printf io "\n%-50s %-e" "Maximum eigenvalue recorded:" s.maxeig
6060
end
6161

6262
function Base.merge(a::DEStats, b::DEStats)

0 commit comments

Comments
 (0)