diff --git a/CHANGELOG.md b/CHANGELOG.md index bfd5501ae..f861db352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,8 @@ Attention: The newest changes should be on top --> ### Fixed +- BUG: Correctly update atmospheric conditions after changing date [#743](https://github.com/RocketPy-Team/RocketPy/pull/743) + ## [v1.7.0] - 2024-11-30 diff --git a/rocketpy/environment/environment.py b/rocketpy/environment/environment.py index 394275763..128ace225 100644 --- a/rocketpy/environment/environment.py +++ b/rocketpy/environment/environment.py @@ -688,7 +688,7 @@ def set_date(self, date, timezone="UTC"): "Ensemble", ]: self.set_atmospheric_model( - self.atmospheric_model_file, self.atmospheric_model_dict + self.atmospheric_model_type, self.atmospheric_model_file, self.atmospheric_model_dict ) def set_location(self, latitude, longitude):