Skip to content

test_hydrogenic_op[6-1] fails #16

@Ao-chuba

Description

@Ao-chuba

@tovrstra
When running pytest, one test fails, test_hydrogenic_op[6-1]. it checks whether the basis can reproduce the eigenvalue of the 7i hydrogenic orbital (angqn=6, priqn=7). The actual relative error is 3.057e-6, which just barely exceeds the hardcoded tolerance of rtol=3e-6. can be reproduced by running -

pip install -e .[dev]
pytest tests/test_tinybasis.py::test_hydrogenic_op[6-1]

maybe we can relax the tolerance to rtol=5e-6 for angqn ≥ 6? But ig doing so would also just result to silencing the failure and not actually fixing it, or we can mark it as xfail with a comment about basis incompleteness at angqn=6

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