Commit 425c73e
Change np.average to np.ma.average to properly handle cases with zero weights. (#60)
Co-authored-by: SebastienJoly <[email protected]>1 parent 9e6407d commit 425c73e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments