Open ChrisRackauckas opened 4 years ago
These should be using promote_type
instead of just convert(T
:
https://github.com/JuliaDiffEq/LabelledArrays.jl/blob/master/src/slarray.jl#L1-L19
So this is actually an issue in StaticArrays
, see https://github.com/JuliaArrays/StaticArrays.jl/pull/670, caused by generated functions.