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
The function givens (Julia v1.1.1) does not work properly with vectors with integer arguments. An example code is below:
givens
using LinearAlgebra x = [3,4] G,r = givens(x,1,2)
it returns
ERROR: MethodError: no method matching givensAlgorithm(::Int64, ::Int64) Stacktrace: [1] givens(::Int64, ::Int64, ::Int64, ::Int64) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/LinearAlgebra/src/givens.jl:276 [2] givens(::Array{Int64,1}, ::Int64, ::Int64) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/LinearAlgebra/src/givens.jl:317 [3] top-level scope at none:0
If instead the vector x contains floats, there are no problems:
x
x = [3.0,4.0] G,r = givens(x,1,2)
yielding
(LinearAlgebra.Givens{Float64}(1, 2, 0.6, 0.8), 5.0)
The text was updated successfully, but these errors were encountered:
This was fixed in #31853
Sorry, something went wrong.
No branches or pull requests
The function
givens
(Julia v1.1.1) does not work properly with vectors with integer arguments. An example code is below:it returns
If instead the vector
x
contains floats, there are no problems:yielding
The text was updated successfully, but these errors were encountered: