Skip to content

Commit

Permalink
Merge branch 'develop' into nicholson/enzyme-support
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoukpaizan committed Oct 30, 2024
2 parents a67d3ea + 60647ed commit 65523d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Solver/Optimization/DynamicConstraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ bool DynamicConstraint<ScalarT, IdxT>::eval_h(Index n, const Number* x, bool new
bool new_lambda, Index nele_hess, Index* iRow,
Index* jCol, Number* values)
{
return false;
return true;
}


Expand Down
6 changes: 3 additions & 3 deletions Solver/Optimization/DynamicObjective.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ bool DynamicObjective<ScalarT, IdxT>::eval_grad_f(Index n, const Number* x, bool
template <class ScalarT, typename IdxT>
bool DynamicObjective<ScalarT, IdxT>::eval_g(Index n, const Number* x, bool new_x, Index m, Number* g)
{
return false;
return true;
}


Expand All @@ -209,7 +209,7 @@ bool DynamicObjective<ScalarT, IdxT>::eval_jac_g(Index n, const Number* x, bool
Index m, Index nele_jac, Index* iRow, Index *jCol,
Number* values)
{
return false;
return true;
}


Expand All @@ -219,7 +219,7 @@ bool DynamicObjective<ScalarT, IdxT>::eval_h(Index n, const Number* x, bool new_
bool new_lambda, Index nele_hess, Index* iRow,
Index* jCol, Number* values)
{
return false;
return true;
}


Expand Down

0 comments on commit 65523d2

Please sign in to comment.