Skip to content

Commit

Permalink
print maxeig as a float
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed May 20, 2024
1 parent 2df59ce commit 76236ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solutions/ode_solutions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function Base.show(io::IO, ::MIME"text/plain", s::DEStats)
@printf io "%-50s %-d\n" "Number of rootfind condition calls:" s.ncondition
@printf io "%-50s %-d\n" "Number of accepted steps:" s.naccept
@printf io "%-50s %-d" "Number of rejected steps:" s.nreject
iszero(s.maxeig) || @printf io "\n%-50s %-d" "Maximum eigenvalue recorded:" s.maxeig
iszero(s.maxeig) || @printf io "\n%-50s %-e" "Maximum eigenvalue recorded:" s.maxeig
end

function Base.merge(a::DEStats, b::DEStats)
Expand Down

0 comments on commit 76236ae

Please sign in to comment.