Closed jariji closed 8 months ago
I see Symbolics does something extremely weird here:
julia> T = eltype(xs)
Vector{LiteralReal} (alias for Array{LiteralReal, 1})
julia> xs[1] |> typeof
Symbolics.Arr{Num, 1}
julia> xs[1] isa T
false
julia> collect(xs)[1] isa T
false
It's not feasible to expect generic code to work when these fundamental assumptions are broken. I hope it's a bug in that package, not a design decision :)
Is this supposed to work?
This works with Base stuff