We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f1c7b commit be974eeCopy full SHA for be974ee
src/Nonlinear/model.jl
@@ -30,8 +30,6 @@ end
30
31
function Base.show(io::IO, model::Model)
32
println(io, "A Nonlinear.Model with:")
33
- if model.objective !== nothing
34
- end
35
_plural(s, n) = n == 1 ? " 1 $s" : " $n $(s)s"
36
println(io, _plural("objective", model.objective !== nothing ? 1 : 0))
37
println(io, _plural("parameter", length(model.parameters)))
0 commit comments