From 1b37951e203dda4b2c1a188b84a8bd2a63375cfe Mon Sep 17 00:00:00 2001 From: Gui-FernandesBR Date: Thu, 18 Apr 2024 20:56:18 -0400 Subject: [PATCH] ENH: providing lambda to sort() is no longer needed --- rocketpy/simulation/flight.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocketpy/simulation/flight.py b/rocketpy/simulation/flight.py index f929a8244..c519a437f 100644 --- a/rocketpy/simulation/flight.py +++ b/rocketpy/simulation/flight.py @@ -3626,7 +3626,7 @@ def add_controllers(self, controllers, t_init, t_end): self.list += controller_node_list def sort(self): - self.list.sort(key=(lambda node: node.t)) + self.list.sort() def merge(self): """Merge all the time nodes that have the same time. This is made to