summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/22575.compatibility.rst
blob: 256a8e933d3aaedbe3dc5340b3aeb4a9096cb142 (plain)
1
2
3
4
5
6
7
8
9
``np.pad`` with ``mode=wrap`` pads with strict multiples of original data
-------------------------------------------------------------------------

Code based on earlier version of ``pad`` that uses  ``mode="wrap"`` will return
different results when the padding size is larger than initial array.

``np.pad`` with ``mode=wrap`` now always fills the space with 
strict multiples of original data even if the padding size is larger than the
initial array.