Skip to content

Commit

Permalink
linsol: edge case indef jacobian detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lvanroye committed Jan 3, 2025
1 parent c47d0c0 commit 31d3de6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fatrop/ocp/OCPLSRiccati.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ fatrop_int OCPLSRiccati::solve_pd_sys_normal(
if (gamma_k - rank_k > 0)
{
// transfer eq's to next stage
if(gamma_k - rank_k > nx) return -1;
GETR(nx + 1, gamma_k - rank_k, Ggt_stripe_p, nu, rank_k, Hh_p + k, 0, 0);
}
if (rank_k > 0)
Expand Down

0 comments on commit 31d3de6

Please sign in to comment.