Skip to content

LinearAlgebra.givens for unitful arguments yields StackOverflowError #36429

Closed

Description

Quite some effort has been invested in LinearAlgebra.givensAlgorithm in order to handle dimensions properly, but:

Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)

julia> using Unitful
julia> using LinearAlgebra

julia> givens(3.0u"m", 4.0u"m", 1, 2)
ERROR: StackOverflowError:
Stacktrace:
 [1] givensAlgorithm(::Quantity{Float64,𝐋,Unitful.FreeUnits{(m,),𝐋,nothing}}, ::Quantity{Float64,𝐋,Unitful.FreeUnits{(m,),𝐋,nothing}}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/LinearAlgebra/src/givens.jl:251 (repeats 79984 times)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    help wantedIndicates that a maintainer wants help on an issue or pull requestlinear algebraLinear algebra

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions