Skip to content

Stack overflows in factorization #54

Closed
JuliaLang/julia
#5526
@simonster

Description

A lot of functions in linalg/factorization.jl (and perhaps elsewhere in LinAlg) have methods like:

function eigfact!{T<:BlasReal}(A::StridedMatrix{T}) ... end
function eigfact!{T<:BlasComplex}(A::StridedMatrix{T}) ... end
eigfact!(A::StridedMatrix) = eigfact!(float(A))

This gives a stack overflow if float(A) does not return a BlasReal or BlasComplex, e.g. if eltype(A) is Float16 or BigFloat.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions