diff options
author | Valentin Haenel <vhaenel@anaconda.com> | 2019-03-30 21:40:57 +0100 |
---|---|---|
committer | Valentin Haenel <vhaenel@anaconda.com> | 2019-03-30 22:07:28 +0100 |
commit | 46852796a13ac1ecc35b6312b73e885fb7517879 (patch) | |
tree | 0e4124f0e1508d23cb63045479b3e16a2c4c3e85 /numpy/core/numeric.py | |
parent | db5fcc8e5834a5f36a1043da898f76562d5475ae (diff) | |
download | numpy-46852796a13ac1ecc35b6312b73e885fb7517879.tar.gz |
ENH: Improve error message for np.repeat
`np.repeat` can take an array of numbers as value for it's `repeat`
argument. The error message if one of these is negative is `count < 0`.
The first time I encountered this, I did not understand the error since
this message is somewhat cryptic and uninformtiave. Replace it by
something better and more explicit.
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions