fix function names in error messages
@@ -81,7 +81,7 @@ static int cvNls_LSetup(N_Vector y, N_Vector res, int convfail, void* cvode_mem)
int retval;
if (cvode_mem == NULL) {
- cvProcessError(NULL, CV_MEM_NULL, "CVODE", "cvNlsRes", MSGCV_NO_MEM);
+ cvProcessError(NULL, CV_MEM_NULL, "CVODE", "cvNls_LSetup", MSGCV_NO_MEM);
return(CV_MEM_NULL);
}
cv_mem = (CVodeMem) cvode_mem;
@@ -111,7 +111,7 @@ static int cvNls_LSolve(N_Vector y, N_Vector delta, void* cvode_mem)
int retval;
if (cvode_mem == NULL) {
- cvProcessError(NULL, CV_MEM_NULL, "CVODE", "cvNlsRes", MSGCV_NO_MEM);
+ cvProcessError(NULL, CV_MEM_NULL, "CVODE", "cvNls_LSolve", MSGCV_NO_MEM);
return(CV_MEM_NULL);
}
cv_mem = (CVodeMem) cvode_mem;
