Skip to content

Commit

Permalink
added to_out_place in utils
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcaillau committed Sep 6, 2024
1 parent 3f974ac commit cdcead8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

"""
#function __constraint(ocp, x...)
#retrieve con length(lb) from dict; is_in_place(ocp) ? to_out_of_place(ocp, n)) : ocp

0 comments on commit cdcead8

Please sign in to comment.