fix one last issues with git's merge from upstream
@@ -166,11 +166,11 @@ int main(void)
/* Create Newton SUNNonlinearSolver object */
NLS = SUNNonlinSol_Newton(yy);
- if(check_flag((void *)NLS, "SUNNonlinSol_Newton", 0)) return(1);
+ if(check_retval((void *)NLS, "SUNNonlinSol_Newton", 0)) return(1);
/* Attach the nonlinear solver */
retval = IDASetNonlinearSolver(mem, NLS);
- if(check_flag(&retval, "IDASetNonlinearSolver", 1)) return(1);
+ if(check_retval(&retval, "IDASetNonlinearSolver", 1)) return(1);
/* In loop, call IDASolve, print results, and test for error.
Break out of loop when NOUT preset output times have been reached. */
