This fixes the failing test and two performance warnings raised in the tests. Like @henryiii suggested, these changes were needed in one particular test which relied on broadcasting rules (in this case they were narrowing rules) that have been removed from numpy.
Previously, it was possible to do this
a = np.zeroes(2)
b = np.ones(1)
a[0] += b # add sequence of length 1 to scalar
This fixes the failing test and two performance warnings raised in the tests. Like @henryiii suggested, these changes were needed in one particular test which relied on broadcasting rules (in this case they were narrowing rules) that have been removed from numpy.
Previously, it was possible to do this