Skip to content

docs: fix copy-pasted Returns description in MKLRandomState.logistic - #215

Open
intel-python-devops wants to merge 1 commit into
masterfrom
chore/agentic-sweep-39
Open

intel-python-devops wants to merge 1 commit into
masterfrom
chore/agentic-sweep-39

Conversation

@intel-python-devops

Copy link
Copy Markdown

Note

This pull request is entirely AI-generated. Please review thoroughly.

  • mkl_random/mklrand.pyx: Corrected the Returns section of _MKLRandomState.logistic's docstring, which claimed (copied from a discrete distribution such as binomial) that the logistic distribution returns "integers in [0, n]"; it now describes the real-valued, location/scale draws that logistic actually returns.

The logistic distribution is continuous and unbounded, so the inherited "all integers in [0, n]" description was factually wrong and misleading to anyone relying on the docstring (e.g. via help() or generated API docs); an extensive read-through of mklrand.pyx, the C++ kernels, the interfaces layer and the test/benchmark suites found no other similarly cheap, demonstrably-correct bug or stream-preserving performance win, so this documentation fix was made instead per the fallback guidance.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant