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