Skip to content

Commit dbb7306

Browse files
authored
show: add underscores to number of atoms and coefficients (#662)
1 parent e0793aa commit dbb7306

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/utilities/show.jl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,12 @@ function Base.show(io::IO, p::Problem)
253253
con_str =
254254
_str_with_elements(counts.n_constraints, counts.n_scalar_constraints)
255255
println(io, " number of constraints : ", con_str)
256-
println(io, " number of coefficients : ", counts.n_nonzeros)
257-
println(io, " number of atoms : ", counts.n_atoms)
256+
println(
257+
io,
258+
" number of coefficients : ",
259+
_to_underscore(counts.n_nonzeros),
260+
)
261+
println(io, " number of atoms : ", _to_underscore(counts.n_atoms))
258262
println(io)
259263
# Print solution summary
260264
println(io, "Solution summary")

0 commit comments

Comments
 (0)