numpy icon indicating copy to clipboard operation
numpy copied to clipboard

BUG: make round consistently return a copy

Open ev-br opened this issue 6 months ago • 2 comments

Otherwise, round returns a view for integer arguments and a copy otherwise. All other "rounding" functions (ceil, floor, trunc, rint), always return copies. Thus, make round consistent with the rest of them.

fixes https://github.com/numpy/numpy/issues/29124

ev-br avatar Jun 07 '25 09:06 ev-br

Needs a release note.

charris avatar Jun 07 '25 12:06 charris

Release note snippet added.

ev-br avatar Jun 07 '25 16:06 ev-br