Commit 025d4f5
committed
Update __init__.py
Starting line 3960 within method drawlsmask I propose changing the use of numpy.concatenate to use np.hstack to achieve the stacking of the lsmask longitude array with itself. This is due to changes in numpy concatenate in NumPy version 1.10.0+ in which an IndexError will be raised if the axis of concatenation does not exist. Numpy.hstack will function the same way and persists in newer versions of NumPy.1 parent 89508c8 commit 025d4f5
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3960 | 3960 | | |
3961 | 3961 | | |
3962 | 3962 | | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
3963 | 3967 | | |
3964 | | - | |
| 3968 | + | |
3965 | 3969 | | |
3966 | | - | |
| 3970 | + | |
3967 | 3971 | | |
3968 | 3972 | | |
3969 | 3973 | | |
| |||
0 commit comments