You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> xshape = ScalarShape(Real);
julia> yshape = MatrixShape(Real, 5, 10);
julia> multishape = MultiShape(x=xshape, y=yshape);
ERROR: MethodError: no method matching check_multishape_namedtuple(::Type{Val{(x = ScalarShape{Real, 0, 1}(), y = MatrixShape{5, 10, Real, 2, 50}())}})
The applicable method may be too new: running in world age 29802, while current world is 33160.
Closest candidates are:
check_multishape_namedtuple(::Type{Val{namedtuple}}) where namedtuple at ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:194 (method too new to be called from this world context.)
Stacktrace:
[1] #s25#9
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:163 [inlined]
[2] var"#s25#9"(namedtuple::Any, ::Any)
@ Shapes ./none:0
[3] (::Core.GeneratedFunctionStub)(::Any, ::Vararg{Any, N} where N)
@ Core ./boot.jl:571
[4] MultiShape
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:173 [inlined]
[5] #MultiShape#10
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:174 [inlined]
[6] top-level scope
@ REPL[18]:1
The text was updated successfully, but these errors were encountered:
It appears the MultiShape example isn't working.
julia> xshape = ScalarShape(Real);
julia> yshape = MatrixShape(Real, 5, 10);
julia> multishape = MultiShape(x=xshape, y=yshape);
ERROR: MethodError: no method matching check_multishape_namedtuple(::Type{Val{(x = ScalarShape{Real, 0, 1}(), y = MatrixShape{5, 10, Real, 2, 50}())}})
The applicable method may be too new: running in world age 29802, while current world is 33160.
Closest candidates are:
check_multishape_namedtuple(::Type{Val{namedtuple}}) where namedtuple at ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:194 (method too new to be called from this world context.)
Stacktrace:
[1] #s25#9
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:163 [inlined]
[2] var"#s25#9"(namedtuple::Any, ::Any)
@ Shapes ./none:0
[3] (::Core.GeneratedFunctionStub)(::Any, ::Vararg{Any, N} where N)
@ Core ./boot.jl:571
[4] MultiShape
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:173 [inlined]
[5] #MultiShape#10
@ ~/.julia/packages/Shapes/Ui6Wq/src/traits.jl:174 [inlined]
[6] top-level scope
@ REPL[18]:1
The text was updated successfully, but these errors were encountered: