Skip to content

Commit

Permalink
Update core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fsq0511 authored Apr 22, 2024
1 parent e16944a commit c3e1380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skdownscale/pointwise_models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def _fit_wrapper(X, *args, along_dim='time', feature_dim=DEFAULT_FEATURE_DIM, **

# create the empty output array
models = xr.DataArray(
np.full(mask.shape, None, dtype=np.object), coords=mask.coords, dims=mask.dims
np.full(mask.shape, None, dtype=object), coords=mask.coords, dims=mask.dims
)

scalar_obj = np.empty((1), dtype=np.object)
scalar_obj = np.empty((1), dtype=object)
for index, val in xenumerate(mask):
mod = copy.deepcopy(model)
if not val:
Expand Down

0 comments on commit c3e1380

Please sign in to comment.