Fix Boolean indexing for numpy 1.13
Boolean indexes must match the dimension of the axis that they index. See https://docs.scipy.org/doc/numpy-1.13.0/release.html#boolean-indexing-changes
Please register or sign in to comment
Boolean indexes must match the dimension of the axis that they index. See https://docs.scipy.org/doc/numpy-1.13.0/release.html#boolean-indexing-changes