removing call to asanyarray
Merge pull request #4684 from perimosocordiae/patch-1

BUG: argwhere is not equivalent to transpose(nonzero(...)))