From cdcead8a6a40c07c7406a7bd2dde8cb5a1ef1e27 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Caillau <jean-baptiste.caillau@univ-cotedazur.fr>
Date: Fri, 6 Sep 2024 12:18:47 +0200
Subject: [PATCH] added to_out_place in utils

---
 src/utils.jl | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/utils.jl b/src/utils.jl
index 4fb84d8..208a860 100644
--- a/src/utils.jl
+++ b/src/utils.jl
@@ -263,6 +263,5 @@ function to_out_of_place(f!, n; T = Float64)
 end
 
 # Adapt getters to test in place
-#__constraint(ocp, x...) = retrieve con length(lb) from dict; is_in_place(ocp) ? to_out_of_place(ocp, n)) : ocp
-
-"""
\ No newline at end of file
+#function __constraint(ocp, x...)
+#retrieve con length(lb) from dict; is_in_place(ocp) ? to_out_of_place(ocp, n)) : ocp
\ No newline at end of file