diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f38761..3db5fcd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Changed - Quiet unused(?), common, logging messages to terminal. ([PR #14](https://github.com/ClimateImpactLab/dscim/pull/14), [@brews](https://github.com/brews)) +### Fixed +- Add missing `self` arg to `global_consumption_calculation` abstract method. ([PR #43](https://github.com/ClimateImpactLab/dscim/pull/43), [@brews](https://github.com/brews)) ## [0.1.0] - 2022-08-30 - Initial release. diff --git a/src/dscim/menu/main_recipe.py b/src/dscim/menu/main_recipe.py index f6458a6c..f5b1fc8e 100644 --- a/src/dscim/menu/main_recipe.py +++ b/src/dscim/menu/main_recipe.py @@ -768,7 +768,7 @@ def median_params_marginal_damages(self): return median_params_marginal_damages @abstractmethod - def global_consumption_calculation(disc_type): + def global_consumption_calculation(self, disc_type): """Calculation of global consumption without climate change Returns