-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiplication broken on Julia 0.6 #170
Comments
I see the same thing on julia> using FixedSizeArrays
julia> p1 = Vec(1.0,2.0,3.0)
Vec(1.0,2.0,3.0)
julia> p2 = Vec(1.0,3.0,2.0)
Vec(1.0,3.0,2.0)
julia> min(p1,p2)
ERROR: type TypeName has no field primary
Stacktrace:
[1] promote_type_nested(::Type{T} where T<:Tuple) at C:\Users\ezzkc\.julia\v0.6\FixedSizeArrays\src\core.jl:181
[2] construct_similar(...) at C:\Users\ezzkc\.julia\v0.6\FixedSizeArrays\src\core.jl:230
[3] macro expansion at C:\Users\ezzkc\.julia\v0.6\FixedSizeArrays\src\mapreduce.jl:81 [inlined]
[4] map at C:\Users\ezzkc\.julia\v0.6\FixedSizeArrays\src\mapreduce.jl:113 [inlined]
[5] min(::FixedSizeArrays.Vec{3,Float64}, ::FixedSizeArrays.Vec{3,Float64}) at C:\Users\ezzkc\.julia\v0.6\FixedSizeArrays\src\ops.jl:81 |
I should probably add a note, that FixedSizeArrays is 0.5 only right now... |
It's also broken for sum. Thanks, I will move to
|
Yeah, FixedSIzeArrays is pretty much deprecated.. If you use the FixedSizeArrays module in StaticArrays, the move should be pretty smooth! |
The text was updated successfully, but these errors were encountered: