Skip to content

Bug in smallInverse function #239

@maierta

Description

@maierta

For a 2x2 matrix, the smallInverse function does the inversion analytically and incorrectly switches the off-diagonal elements: std::swap(m_inv(1, 0), m_inv(0, 1)); This won't affect problems for which the Hamiltonian is real, but it does affect problems with complex off-diagonal elements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions