Skip to content

Commit fea5662

Browse files
giovaniceottoMateusStanophmbressan
committed
FIX: change index from 7 to 8 to fix dynamic viscosity
Co-authored-by: MateusStano <[email protected]> Co-authored-by: phmbressan <[email protected]>
1 parent 6a09af6 commit fea5662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocketpy/Flight.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1779,7 +1779,7 @@ def density(self):
17791779
@funcify_method("Time (s)", "Dynamic Viscosity (Pa s)", "spline", "constant")
17801780
def dynamicViscosity(self):
17811781
"""Air dynamic viscosity felt by the rocket as a rocketpy.Function of time."""
1782-
return self.retrieve_temporary_values_arrays[7]
1782+
return self.retrieve_temporary_values_arrays[8]
17831783

17841784
@funcify_method("Time (s)", "Speed of Sound (m/s)", "spline", "constant")
17851785
def speedOfSound(self):

0 commit comments

Comments
 (0)