Skip to content

Endless loop in eigenvalue calculation #764

@daingun

Description

@daingun

The calculation of the eigenvalues of a matrix leads to an endless loop.
The code and the specific matrix are available in this playground:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=bf7b783d7d993ba5ee18292ef2a62778

The endless loop happens only when the type of the elements is f32, calculation is performed correctly if the type is changed to f64, so it seems a problem of over/underflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions