Skip to content

Commit 0c9bd48

Browse files
committed
BUG: parachute callbacks attribute naming.
1 parent b4885ae commit 0c9bd48

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

rocketpy/simulation/flight.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -762,12 +762,10 @@ def __simulate(self, verbose):
762762
lambda self, parachute_cd_s=parachute.cd_s: setattr(
763763
self, "parachute_cd_s", parachute_cd_s
764764
),
765-
lambda self,
766-
parachute_radius=parachute.parachute_radius: setattr(
765+
lambda self, parachute_radius=parachute.radius: setattr(
767766
self, "parachute_radius", parachute_radius
768767
),
769-
lambda self,
770-
parachute_height=parachute.parachute_height: setattr(
768+
lambda self, parachute_height=parachute.height: setattr(
771769
self, "parachute_height", parachute_height
772770
),
773771
lambda self, parachute_porosity=parachute.porosity: setattr(

0 commit comments

Comments
 (0)