Yup, you just need to move the <:Number around:
julia> struct CoreM2{T <: Number} <: AbstractArray{T, 3}
core::Array{T, 3}
end
Yup, you just need to move the <:Number around:
julia> struct CoreM2{T <: Number} <: AbstractArray{T, 3}
core::Array{T, 3}
end