Skip to content

Commit

Permalink
Fixed masked array append bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
pagecp committed Sep 15, 2017
1 parent 6079c8c commit 2625d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icclim/time_subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def get_resampled_arrs(dt_arr, values_arr, year_to_eliminate, year_to_duplicate)

# we add slices to duplicate in the end
dt_arr_result = numpy.append(dt_arr_subsetted, dt_arr_year_to_duplicate)
values_arr_result = numpy.append(values_arr_subsetted, values_arr_year_to_duplicate, axis=0)
values_arr_result = numpy.ma.append(values_arr_subsetted, values_arr_year_to_duplicate, axis=0)


return (dt_arr_result, values_arr_result)

0 comments on commit 2625d97

Please sign in to comment.