We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Complex{Float64}
The following MethodError should be fixed.
MethodError
julia> using Quaternions julia> Quaternion{Float64}(1) QuaternionF64(1.0, 0.0, 0.0, 0.0, true) julia> Quaternion{Float64}(1,2,3,4) ERROR: MethodError: no method matching QuaternionF64(::Int64, ::Int64, ::Int64, ::Int64) Closest candidates are: Quaternion{T}(::Any, ::Any, ::Any, ::Any, ::Any) where T<:Real at ~/.julia/dev/Quaternions/src/Quaternion.jl:2 Quaternion{T}(::Real) where T<:Real at ~/.julia/dev/Quaternions/src/Quaternion.jl:13 (::Type{T})(::T) where T<:Number at ~/julia/julia-1.7.1/share/julia/base/boot.jl:770 Stacktrace: [1] top-level scope @ REPL[3]:1 julia> Complex{Float64}(1) 1.0 + 0.0im julia> Complex{Float64}(1,2) 1.0 + 2.0im
The text was updated successfully, but these errors were encountered:
This should be handled implicitly when #75 is finished.
Sorry, something went wrong.
This issue was already solved, maybe by #108:
julia> using Quaternions julia> Quaternion{Float64}(1) QuaternionF64(1.0, 0.0, 0.0, 0.0) julia> Quaternion{Float64}(1,2,3,4) QuaternionF64(1.0, 2.0, 3.0, 4.0)
No branches or pull requests
The following
MethodError
should be fixed.The text was updated successfully, but these errors were encountered: