-
Notifications
You must be signed in to change notification settings - Fork 148
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
SVector(0.0,0) throws an error #120
Comments
This is only in 0.6 |
Can you try (I haven't quite finished that branch, but it should have most basic functionality working) |
julia> Pkg.checkout("StaticArrays","julia-0.6")
INFO: Checking out StaticArrays julia-0.6...
INFO: Pulling StaticArrays latest julia-0.6...
WARNING: Cannot perform fast-forward merge.
INFO: No packages to install, update or remove
julia> using StaticArrays
julia> SVector(1.0,1)
ERROR: No precise constructor for StaticArrays.SVector found. Length of input was 2.
Stacktrace:
[1] StaticArrays.SVector(::Float64, ::Int64) at /Users/solver/.julia/v0.6/StaticArrays/src/convert.jl:3 |
So the error is slightly different |
There was a missing Thanks for reporting. |
* remove generated in roweq * avoid unnecessary Base * remove generated function on rowcmp
I would expect this to promote to
Float64
:The text was updated successfully, but these errors were encountered: