Skip to content

Commit

Permalink
Cdms2 (#213)
Browse files Browse the repository at this point in the history
* change conda-build

* fix forecast test for OSX
  • Loading branch information
dnadeau4 authored Jan 24, 2018
1 parent b25fe4b commit 76455aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def __call__(self, varname, forecast_times='All'):
# Create the variable from the data, with mask:
v0 = vars[0]
a = numpy.asarray([v.data for v in vars])
if v0._mask:
if type(v0._mask) == bool:
m = numpy.asarray([v._mask for v in vars])
v = cdms2.tvariable.TransientVariable(
a, mask=m, fill_value=v0._fill_value)
Expand Down

0 comments on commit 76455aa

Please sign in to comment.