From 2ffb9a4da8ed87a41593d6fda4148f67fe8480eb Mon Sep 17 00:00:00 2001 From: Peter Stahlecker Date: Fri, 31 Jan 2025 10:22:01 +0100 Subject: [PATCH] still more errors --- opty/tests/test_direct_collocation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opty/tests/test_direct_collocation.py b/opty/tests/test_direct_collocation.py index d1967616..049f0532 100644 --- a/opty/tests/test_direct_collocation.py +++ b/opty/tests/test_direct_collocation.py @@ -308,7 +308,7 @@ def test_gen_multi_arg_con_jac_func_backward_euler(self): # Make sure the parameters are in the correct order. constant_values = \ np.array([self.constant_values[self.constant_symbols.index(c)] - for c in self.collocator._gen_multi_arg_con_func]) + for c in self.collocator._parameters]) # TODO : Once there are more than one specified, they will need to # be put in the correct order too.