Skip to content

BUG: Fix SIMD f32 trunc test on s390x when baseline is none#24776

Merged
charris merged 1 commit intonumpy:maintenance/1.26.xfrom
seiko2plus:issue_24750
Sep 22, 2023
Merged

BUG: Fix SIMD f32 trunc test on s390x when baseline is none#24776
charris merged 1 commit intonumpy:maintenance/1.26.xfrom
seiko2plus:issue_24750

Conversation

@seiko2plus
Copy link
Member

Partial backport of #24479

Relates to #24750

Fix the following test error:

self = <numpy.core.tests.test_simd_module.Test_SIMD_MODULE object at 0x3ff2e4e9bb0>
    def test_truncate_f32(self):
>       f32 = npyv.setall_f32(0.1)[0]
E       AttributeError: module 'numpy.core._simd.VX' has no attribute 'setall_f32'. Did you mean: 'setall_s32'?
self       = <numpy.core.tests.test_simd_module.Test_SIMD_MODULE object at 0x3ff2e4e9bb0>
../../../../BUILDROOT/numpy-1.26.0-1.fc40.s390x/usr/lib64/python3.12/site-packages/numpy/core/tests/test_simd_module.py:89: AttributeError

@seiko2plus seiko2plus added the 08 - Backport Used to tag backport PRs label Sep 22, 2023
@charris charris merged commit 6410d12 into numpy:maintenance/1.26.x Sep 22, 2023
@charris
Copy link
Member

charris commented Sep 22, 2023

Thanks Sayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants