diff options
author | jessijzhao <35235453+jessijzhao@users.noreply.github.com> | 2021-10-27 10:35:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 10:35:31 -0700 |
commit | f66a76ec2d592c4f44c3f44c596b6d6f581626e5 (patch) | |
tree | 2aa2b3172b0893559c77fc395b386b7eac13a1f7 /numpy/array_api/_array_object.py | |
parent | ba6cd71b14df1ea2694354ac9ce84e8f2d7aa65a (diff) | |
download | numpy-f66a76ec2d592c4f44c3f44c596b6d6f581626e5.tar.gz |
DOC: Fix random.power Raises description (#20205)
Current documentation for random.power and random.Generator.power states that ValueError is raised if a < 1; however the power function distribution only supports strictly positive a > 0 and raises ValueError if a <= 0. Fixed documentation to reflect this.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions