Skip to content

sparse lufact fallback not correctly defined #308

Closed
JuliaLang/julia
#15102
@jiahao

Description

@jiahao

In trying to troubleshoot #301, I discovered that the following code seems to result in an infinite loop in SparseArrays.normestinv, an unexported function for estimating the norm of the inverse of the input sparse matrix.

julia> srand(5); Ac = sprandn(20,20,.5) + im* sprandn(20, 20,.5);

julia> Af = convert(SparseMatrixCSC{Complex64}, Ac);

julia> SparseArrays.normestinv(Af, 1) #hangs

Probably related:

julia> SparseArrays.normestinv(sparse(ones(Complex64, 1, 1)), 1)
ERROR: StackOverflowError:
 in float at operators.jl:381
 in call at essentials.jl:56 (repeats 509 times)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsparseSparse arrays

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions