Skip to content

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

Closed
@Lucas-Prates

Description

@Lucas-Prates

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions