RocketPy-Team / RocketPy

Next generation High-Power Rocketry 6-DOF Trajectory Simulation
https://docs.rocketpy.org/
MIT License
650 stars 159 forks source link

BUG: Single Point Functions Can Not Be Defined #700

Closed MateusStano closed 1 month ago

MateusStano commented 1 month ago

Description

Functions of a single point (Function([[1,2]]) do not currently work because of an added validation for source shape.

I have corrected the validation to account for one point Functions

Gui-FernandesBR commented 1 month ago

Are tests really passing?

MateusStano commented 1 month ago

Are tests really passing?

locally yes