Skip to content

Commit

Permalink
scipy v18 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
basaks committed Jul 26, 2016
1 parent c7f9341 commit 581bf50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyrate/tests/test_prepifg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
import tempfile
from math import floor
import numpy as np
from scipy.stats.stats import nanmean
try:
from scipy.stats.stats import nanmean
except: # fix for scipy v0.18.0
from scipy import nanmean
from numpy import isnan, nanmax, nanmin
from numpy import ones, nan, reshape, sum as npsum
from numpy.testing import assert_array_almost_equal, assert_array_equal
Expand Down

0 comments on commit 581bf50

Please sign in to comment.