Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: TypeError when creating nose cones with bluffness between 0 and 1 #610

Closed
Lucas-Prates opened this issue May 24, 2024 · 0 comments · Fixed by #611
Closed

BUG: TypeError when creating nose cones with bluffness between 0 and 1 #610

Lucas-Prates opened this issue May 24, 2024 · 0 comments · Fixed by #611

Comments

@Lucas-Prates
Copy link
Contributor

Lucas-Prates commented May 24, 2024

Describe the bug

A "TypeError: unsupported operand type(s) for ** or pow(): 'list' and 'int'" is raised when creating any nose cone with bluffness different of None or $0$.

To Reproduce

Create any nose cone with bluffness between $0$ and $1$. Minimal code to reproduce:

from rocketpy import NoseCone
NoseCone(length=1, kind="conical", base_radius=1, bluffness=0.5)
@Lucas-Prates Lucas-Prates linked a pull request May 24, 2024 that will close this issue
3 tasks
Gui-FernandesBR added a commit that referenced this issue May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

1 participant