Skip to content

CI: Test with latest matlab runtime#670

Closed
MridulS wants to merge 1 commit intomainfrom
mac_win_ci
Closed

CI: Test with latest matlab runtime#670
MridulS wants to merge 1 commit intomainfrom
mac_win_ci

Conversation

@MridulS
Copy link
Member

@MridulS MridulS commented Feb 11, 2026

Trying to debug #669

@MridulS
Copy link
Member Author

MridulS commented Feb 11, 2026

huh, it has nothing to do with matlab as those tests are skipped anyway.

@MridulS
Copy link
Member Author

MridulS commented Feb 11, 2026

This is actually an issue with the FMA instruction set on ARM64 machines!! It is too acurate.

On my ARM machine

In [1]: import scipp as sc

In [2]: a = sc.vector([-0.5620126808026259, -0.1798933776079791, 0.8073290031392648])

In [3]: nxa = sc.cross(a, a)

In [4]: nxa
Out[4]: <scipp.Variable> ()    vector3  [dimensionless]  (-1.33772e-17, -2.53988e-17, 5.31669e-18)

on VISA x86_64

In [1]: import scipp as sc

In [2]: a = sc.vector([-0.5620126808026259, -0.1798933776079791, 0.8073290031392648])

In [3]: nxa = sc.cross(a, a)

In [4]: nxa
<scipp.Variable> ()    vector3  [dimensionless]  (0, 0, 0)

@MridulS MridulS closed this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant