Commits

Lisandro Dalcin  committed 119a5cd

Fix error message

  • Participants
  • Parent commits b92aa5e

Comments (0)

Files changed (1)

File src/tsalpha2.c

   PetscErrorCode ierr;
 
   PetscFunctionBegin;
-  if (!th->Function) SETERRQ(((PetscObject)ts)->comm,PETSC_ERR_USER,"Must call TSSetIFunction()");
+  if (!th->Function) SETERRQ(((PetscObject)ts)->comm,PETSC_ERR_USER,"Must call TSSetIFunction2()");
   ierr = PetscLogEventBegin(TS_FunctionEval,ts,X,V,F);CHKERRQ(ierr);
   PetscStackPush("TS user implicit function");
   ierr = (*th->Function)(ts,t,X,V,A,F,th->FunCtx);CHKERRQ(ierr);