-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix use of removed array rules in test (#952)
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 ```
- Loading branch information
1 parent
ef2e0a7
commit ae1a255
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters