Skip to content

Commit d06b931

Browse files
committed
fix Model show
1 parent 94f741a commit d06b931

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/model.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ _keys(params::Tuple{}, m::AbstractModel) = ()
163163
end
164164
end
165165

166-
function Base.show(io::IO, ::MIME"text/plain", m::AbstractModel)
167-
show(typeof(m))
166+
function Base.show(io::IO, mime::MIME"text/plain", m::AbstractModel)
167+
show(io, mime, typeof(m))
168168
println(io, " with parent object of type: \n")
169-
show(typeof(parent(m)))
169+
show(io, mime, typeof(parent(m)))
170170
println(io, "\n\n")
171171
printparams(io::IO, m)
172172
end

0 commit comments

Comments
 (0)