Skip to content

Commit

Permalink
a few more SDC fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 23, 2023
1 parent f0aeaed commit 7f2821f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/sdc/sdc_newton_solve.H
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define SDC_NEWTON_SOLVE_H

#include <sdc_react_util.H>
#include <linpack.H>

// error codes
constexpr int NEWTON_SUCCESS = 0;
Expand Down Expand Up @@ -238,7 +239,7 @@ sdc_newton_solve(const Real dt_m,
#ifdef NEW_NETWORK_IMPLEMENTATION
RHS::dgesl(Jac, f_rhs);
#else
dgesl<NumSpec+2>(Jac, ipvt, f_rhs);
dgesl<NumSpec+1>(Jac, ipvt, f_rhs);
#endif

for (int n = 1; n < NumSpec+1; ++n) {
Expand Down

0 comments on commit 7f2821f

Please sign in to comment.