small commit to silence a warning from numpy about non int indexes