Skip to content

BUG: cython warning in mtrand.pyx #27954

@ngoldbaum

Description

@ngoldbaum

It looks like nightly cython warns:

warning: numpy/random/mtrand.pyx:4966:29: the result of using negative indices inside of code sections marked as 'wraparound=False' is undefined

And indeed, there's a negative index:

for method_name in __all__[:-1]:

But the file is globally set to have wraparound=False.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions