blob: 9f112fd5217d50868493bdefb7b504fecf08bd65 (
plain)
1
2
3
4
5
|
`np.linspace` on integers now use floor
---------------------------------------
When using a `int` dtype in `numpy.linspace`, previously float values would
be rounded towards zero. Now `numpy.floor` is used instead, which rounds toward
``-inf``. This changes the results for negative values.
|