Closed ziyiyin97 closed 2 years ago
show(io::IOContext{IOBuffer}, #unused#::MIME{Symbol("text/plain")}, X::judiVector{Float32, Matrix{Float32}})
@ Base ./arrayshow.jl:396
Looks lik you are in Weave, and you can check in the doc's make.jl
that need few extra overload for it. But they are ambiguous so would break code quality in JUDI so can't be added there.
I did install Weave but I didn't using Weave
in the current notebook that is erroring.
So I need to uninstall Weave?
No looks like is some weird path of show
I've double checked: show(q)
still works but q
itself doesn't work
Looks like probably need to define
show(io::IO, ::MIME{Symbol("text/plain")}, ms::judiMulti
Like this?
show(io::IO, ::MIME{Symbol("text/plain")}, ms::JUDI.judiMultiSourceVector) = println(io, "$(typeof(ms)) with $(ms.nsrc) sources")
q
it throws the same error
Where did you define it
adding to abstract.jl
works
Yes because Base.show is imported in JUDI you always have to import function you extens
I am now at version 3.0.1. This errors when doing
in a single cell in jupyter notebook (it works totally find in Julia's REPL in terminal) where
q
is a judiVector as source. Seems to be an error about something here https://github.com/slimgroup/JUDI.jl/blob/30fb30f90c09f8a3256a189f9134027af2dc93f8/src/TimeModeling/Types/abstract.jl#L12 any thought?