Skip to content

Some tests fail following ATM exchange coefficient fix #181

Description

@JonathanMaes

The following tests are failing since 14fa376 "Fix ATM exchange coefficient".

FAILED test_anisotropic_exchange.py::TestAfmExchange::test_anisotropic_exchange - assert np.float64(0.960850646448562) < 5e-07
FAILED test_domain_wall_atm.py::TestAltermagneticDomainWallAlongX::test_neel_profile - assert np.float64(0.18274213951914298) < 0.007
FAILED test_domain_wall_atm.py::TestAltermagneticDomainWallAlongX::test_net_magnetization_profile - assert np.float64(0.24713677097669992) < 0.007
FAILED test_domain_wall_atm.py::TestAltermagneticDomainWallAlongY::test_neel_profile - assert np.float64(0.18289642274390408) < 0.007
FAILED test_domain_wall_atm.py::TestAltermagneticDomainWallAlongY::test_net_magnetization_profile - assert np.float64(0.2457138872577499) < 0.007
FAILED test_spinwave_dispersion_atm.py::test_spinwave_dispersion_afm - assert np.float64(0.3642423317722383) < 0.02

As noted by @ilateur, the example figure is now also wrong.

Image

Activity

  1. added this to the v1.2.2 milestone on Sep 16, 2026
  2. ilateur commented on Sep 16, 2026

    @ilateur
    Collaborator

    examples/spinwave_dispersion_atm.py is also wrong
    Image

    The DW example also has an image in the documentation website which might need to be updated, depending on the fix. :)

  3. added theissue type on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions