diff options
-rw-r--r-- | doc/release/upcoming_changes/16841.change.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/release/upcoming_changes/16841.change.rst b/doc/release/upcoming_changes/16841.change.rst index 26efd2528..9f112fd52 100644 --- a/doc/release/upcoming_changes/16841.change.rst +++ b/doc/release/upcoming_changes/16841.change.rst @@ -1,5 +1,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 +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. |