numpy/numpy — comment on commit a6e869b70b09df9381d341ed0d2b18f88d8fe3d6
File:  line 0
By codewarrior0:

This fix can't be backported to numpy 1.6, because of the lack of np.copyto().

My fix for numpy 1.6 changes the previous line to `if mindx.size > 1` because it seems like that was the original meaning. (If dindx.size == 1, we can still use dindx[]= to fill it with dval, but not if mindx turns out to be `nomask` which has size == 1.