aboutsummaryrefslogtreecommitdiff
path: root/nlsolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'nlsolve.c')
-rw-r--r--nlsolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nlsolve.c b/nlsolve.c
index ee08ec7..84c6b8a 100644
--- a/nlsolve.c
+++ b/nlsolve.c
@@ -79,7 +79,7 @@ struct NLSolvePriv {
NLEquationContext *eqs;
NLVarContext *vars;
- const double *(**eq_coeffs)[PSSOLVE_DIFF_ORDER_NB];
+ PSEqCoeffs *eq_coeffs;
double *delta;
double *rhs;
@@ -498,7 +498,7 @@ int tdi_nlsolve_context_init(NLSolveContext *ctx)
if (ret < 0)
return ret;
- s->eq_coeffs[i] = s->eqs[i].eq_coeffs;
+ s->eq_coeffs[i].func_coeffs = (const double * const (*)[PSSOLVE_DIFF_ORDER_NB])s->eqs[i].eq_coeffs;
}
/* init the per-variable state */