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
using StaticArrays, StaticNumbers
x =@SVectorones(3)
1*x
gives
MethodError: Size() is ambiguous. Candidates:
(::Type{Size})(s::Union{StaticArrays.Dynamic, Int64}...) in StaticArrays at /home/bylard/.julia/packages/StaticArrays/1g9bq/src/traits.jl:66
(::Type{Size})(s::StaticInteger...) in StaticNumbers at /home/bylard/.julia/packages/StaticNumbers/x5EiE/src/StaticArrays_glue.jl:21
Possible fix, define
Size()
Interestingly, the following does not give an error:
using StaticArrays
x =@SVectorones(3)
1*x
using StaticNumbers
1*x
3-element SArray{Tuple{3},Float64,1,3} with indices SOneTo(3):
1.0
1.0
1.0
Am I missing something here?
The text was updated successfully, but these errors were encountered:
gives
Interestingly, the following does not give an error:
Am I missing something here?
The text was updated successfully, but these errors were encountered: