Skip to content

Commit

Permalink
Merge pull request #695 from oscardssmith/maxeig-formating
Browse files Browse the repository at this point in the history
print maxeig as a float
  • Loading branch information
ChrisRackauckas authored May 20, 2024
2 parents 2df59ce + 76236ae commit b7fd3cc
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 b7fd3cc

Please sign in to comment.