Skip to content

Commit

Permalink
Correction to code.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinevans committed Jun 29, 2021
1 parent de17321 commit b72eb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion improver/calibration/ensemble_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ def _calculate_location_parameter_from_mean(self) -> ndarray:
constr = iris.Constraint(self.coefficients_cubelist[0].attributes["diagnostic_standard_name"])
new_forecast_predictors = iris.cube.CubeList()
for fp in forecast_predictors:
forecast_predictor = forecast_predictors.extract(constr)
forecast_predictor = fp.extract(constr)
if not forecast_predictor:
new_forecast_predictors.append(fp)
forecast_predictor, = forecast_predictor
Expand Down

0 comments on commit b72eb70

Please sign in to comment.