Skip to content

Commit

Permalink
show: add underscores to number of atoms and coefficients
Browse files Browse the repository at this point in the history
  • Loading branch information
ericphanson committed May 14, 2024
1 parent 958a9ae commit 414c9ef
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/utilities/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,12 @@ function Base.show(io::IO, p::Problem)
con_str =
_str_with_elements(counts.n_constraints, counts.n_scalar_constraints)
println(io, " number of constraints : ", con_str)
println(io, " number of coefficients : ", counts.n_nonzeros)
println(io, " number of atoms : ", counts.n_atoms)
println(
io,
" number of coefficients : ",
_to_underscore(counts.n_nonzeros),
)
println(io, " number of atoms : ", _to_underscore(counts.n_atoms))
println(io)
# Print solution summary
println(io, "Solution summary")
Expand Down

0 comments on commit 414c9ef

Please sign in to comment.