Skip to content

Commit

Permalink
BUG: change order of print and length set
Browse files Browse the repository at this point in the history
  • Loading branch information
MateusStano authored Oct 6, 2023
1 parent 76b8784 commit 5362247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rocketpy/rocket/aero_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,12 +426,12 @@ def final_shape(x):
# Evaluate final geometry parameters
self.shape_vec = [nosecone_x, nosecone_y]
if abs(nosecone_x[-1] - self.length) >= 0.001: # 1 milimiter
self._length = nosecone_x[-1]
print(
"Due to the chosen bluffness ratio, the nose cone length was reduced to m.".format(
self.length
)
)
self._length = nosecone_x[-1]
self.fineness_ratio = self.length / (2 * self.base_radius)

return None
Expand Down

0 comments on commit 5362247

Please sign in to comment.