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
I have a StaticArrays.MVector and I want to make ShortString. Should this be possible?
julia>using StaticArrays, ShortStrings; ShortString(@MVector UInt8[1,2,3,4])
Error showing value of type ShortString{MVector{4, UInt8}}:
ERROR:DimensionMismatch("No precise constructor for MVector{4, UInt8} found. Length of input was 1.")
The text was updated successfully, but these errors were encountered:
I want to make one ShortString out of the MVector, just like I can make one String out of the MVector.
julia>String(@MVector UInt8[97,98,99])
"abc"
julia>ShortString(@MVector UInt8[97,98,99])
Error showing value of type ShortString{MVector{3, UInt8}}:
ERROR:DimensionMismatch("No precise constructor for MVector{3, UInt8} found. Length of input was 1.")
I have a
StaticArrays.MVector
and I want to makeShortString
. Should this be possible?The text was updated successfully, but these errors were encountered: