Skip to content

Commit bd57ec2

Browse files
committed
BUG: Correctly update atmospheric conditions after changing date
1 parent d93666a commit bd57ec2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Attention: The newest changes should be on top -->
3939

4040
### Fixed
4141

42+
- BUG: Correctly update atmospheric conditions after changing date [#743](https://github.com/RocketPy-Team/RocketPy/pull/743)
43+
4244

4345
## [v1.7.0] - 2024-11-30
4446

rocketpy/environment/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ def set_date(self, date, timezone="UTC"):
688688
"Ensemble",
689689
]:
690690
self.set_atmospheric_model(
691-
self.atmospheric_model_file, self.atmospheric_model_dict
691+
self.atmospheric_model_type, self.atmospheric_model_file, self.atmospheric_model_dict
692692
)
693693

694694
def set_location(self, latitude, longitude):

0 commit comments

Comments
 (0)