Open
Description
This might be a trivial problem, since the defualt type of integer is Int64
.
using StaticArrays
n::Int8 = 20
x= MVector{nw, Float64}(undef)
returns
ERROR: ArgumentError: Static Array parameter Size must be a tuple of Ints (e.g. `SArray{Tuple{3,3}}` or `SMatrix{3,3}`).
while
using StaticArrays
n = 20
x= MVector{nw, Float64}(undef)
works fine.
I think in the Integer
supertype, only Int64
is accepted. Is there any particular reason for this?