Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
remove second reference
Browse files Browse the repository at this point in the history
  • Loading branch information
shueja committed Nov 14, 2023
1 parent d0d95fa commit c9962a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimization/CasADiOpti.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void CasADiOpti::Solve() {
// I'm assuming the dynamic lib is on the path and casadi can find it.
auto pluginOptions = casadi::Dict();
pluginOptions["iteration_callback"] = &callback;
auto reference = &pluginOptions["iteration_callback"];
//auto reference = &pluginOptions["iteration_callback"];
opti.solver("ipopt", pluginOptions);
#else
auto pluginOptions = casadi::Dict();
Expand Down

0 comments on commit c9962a1

Please sign in to comment.