Commit 4ea3c9a
authored
[ENH] Use numpy assert array equal in test_multitaper_cohere_perfect_cohere (#573)
* use numpy assert_array_equal for unit test
* fix issue with element-wise multiplication of ndarrays and np.complex128 by casting to np.complex128
* skip unit test for numpy 1.25.0 and 1.25.11 parent af4a0a4 commit 4ea3c9a
File tree
4 files changed
+113
-107
lines changed- elephant
- test
- requirements
4 files changed
+113
-107
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
| 1278 | + | |
1279 | 1279 | | |
1280 | 1280 | | |
1281 | 1281 | | |
| |||
0 commit comments