Skip to content

BUG: SciPy is seeing incorrect warnings on MacOS M1 (M2?) array * scalar #23996

@seberg

Description

@seberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions