Skip to content

Commit

Permalink
Fix wrong address operator for kinsol user data (#9190)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnHeuermann committed Jul 4, 2022
1 parent 8f15490 commit f1e97ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -893,7 +893,7 @@ static void nlsKinsolFScaling(DATA *data, NLS_KINSOL_DATA *kinsolData,
} else {
/* Update f(x) for the numerical jacobian matrix */
nlsKinsolResiduals(x, kinsolData->fTmp, kinsolData->userData);
nlsSparseJac(x, kinsolData->fTmp, spJac, &kinsolData->userData, tmp1, tmp2);
nlsSparseJac(x, kinsolData->fTmp, spJac, kinsolData->userData, tmp1, tmp2);
}
} else {
/* Update f(x) for the numerical jacobian matrix */
Expand Down

0 comments on commit f1e97ce

Please sign in to comment.