Skip to content

BUG: Fix bounds checking for random.logseries#22594

Merged
charris merged 1 commit intonumpy:maintenance/1.23.xfrom
charris:backport-22450
Nov 15, 2022
Merged

BUG: Fix bounds checking for random.logseries#22594
charris merged 1 commit intonumpy:maintenance/1.23.xfrom
charris:backport-22450

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Nov 15, 2022

Backport of #22450.

Logseries previously did not enforce bounds to be strictly exclusive for the upper bound, where it leads to incorrect behavior.

The NOT_NAN check is removed, since it was never used: The current bounded version always excludes NaNs.

Logseries previously did not enforce bounds to be strictly exclusive
for the upper bound, where it leads to incorrect behavior.

The NOT_NAN check is removed, since it was never used: The current bounded
version always excludes NaNs.
@charris charris added this to the 1.23.5 release milestone Nov 15, 2022
@charris charris merged commit 3ca02ce into numpy:maintenance/1.23.x Nov 15, 2022
@charris charris deleted the backport-22450 branch November 15, 2022 19:31
@charris charris changed the title BUG: Fix boundschecking for random.logseries BUG: Fix bounds checking for random.logseries Nov 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants