-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
np.logical_xor.accumulate fails on 1.24 on mac #22841
Copy link
Copy link
Closed
Labels
00 - Bug06 - Regressioncomponent: SIMDIssues in SIMD (fast instruction sets) code or machineryIssues in SIMD (fast instruction sets) code or machinery
Milestone
Description
Describe the issue:
.Accumulate on logical_xor gives wrong result on newest version. I suspect the same for bitwise_xor.
Reproduce the code example:
import numpy as np
a = np.array([False, False, True, False, False, False, False, True, False, False, True, False, False, True, False, False, False, False, False, False])
np.logical_xor.accumulate(a)
array([False, False, True, True, False, False, False, True, True,
False, True, True, False, True, True, False, False, False,
False, False])
# Should be [False, False, True, True, True, True, True, False,,,,]Error message:
No response
NumPy/Python version information:
numpy=1.24
python 3.8,
mac version 12.5.1
Context for the issue:
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
00 - Bug06 - Regressioncomponent: SIMDIssues in SIMD (fast instruction sets) code or machineryIssues in SIMD (fast instruction sets) code or machinery