Commits

Matt Knepley committed f2436f7

PetscDualSpace: Pointer check barfs for function pointer

Comments (0)

Files changed (1)

src/dm/dt/interface/dtfe.c

 
   PetscFunctionBegin;
   PetscValidHeaderSpecific(sp, PETSCDUALSPACE_CLASSID, 1);
-  PetscValidPointer(func, 4);
   PetscValidPointer(value, 5);
   ierr = PetscDualSpaceGetDM(sp, &dm);CHKERRQ(ierr);
   ierr = DMPlexGetDimension(dm, &dim);CHKERRQ(ierr);