You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: SciPy is seeing incorrect warnings on MacOS M1 (M2?) array * scalar #23996
CC @tylerjereddy. See scipy/scipy#18697, it seems MacOSX on arm optimizes the multiply in a way that leads to loading uninitialized values/zeros probably, so that 0 * inf triggers a warning.
I am not sure we should worry too much about it, since clang on MacOS X for arm doesn't properly support -ftrapping-math IIRC, which tends to make things difficult, but it is incorrect. The SciPy test should not show a warning in the specific multiplication.
Activity
tylerjereddy commentedon Jun 19, 2023
Let me know if you want me to test anything specific.
seberg commentedon Jun 19, 2023
Thanks, no need... This is a trivial repro that works on my machine:
seberg commentedon Jun 20, 2023
Ping @Developer-Ecosystem-Engineering since maybe you can have a look at this and there is an easy fix.
TST: flaky `test_complex_iir_dlti`
tylerjereddy commentedon Jun 24, 2023
See also:
scipy/scipy#18737
scipy/scipy#18738
Flaky behavior, sometimes < 80 failures in 20,000 trials of the same calculation, so reproducing is a bit tricky.
clangversion:TST: flaky `test_complex_iir_dlti`
Developer-Ecosystem-Engineering commentedon Jun 26, 2023
We understand the issue, please stand by
Developer-Ecosystem-Engineering commentedon Jun 26, 2023
Please see #24054 for a proposed fix.