Skip to content

Commit be974ee

Browse files
authored
[Nonlinear] remove null branch (#2644)
1 parent 95f1c7b commit be974ee

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Nonlinear/model.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ end
3030

3131
function Base.show(io::IO, model::Model)
3232
println(io, "A Nonlinear.Model with:")
33-
if model.objective !== nothing
34-
end
3533
_plural(s, n) = n == 1 ? " 1 $s" : " $n $(s)s"
3634
println(io, _plural("objective", model.objective !== nothing ? 1 : 0))
3735
println(io, _plural("parameter", length(model.parameters)))

0 commit comments

Comments
 (0)