Commits

Matt Knepley committed 12a05a8

PetscSection: Fixed VecSetValuesSection()

  • Participants
  • Parent commits 37d3b23

Comments (0)

Files changed (1)

src/vec/vec/utils/vsection.c

   PetscErrorCode  ierr;
 
   PetscFunctionBegin;
-  ierr  = PetscSectionGetConstraintDof(s, p, &cDim);CHKERRQ(ierr);
+  ierr  = PetscSectionGetConstraintDof(s, point, &cDim);CHKERRQ(ierr);
   ierr  = VecGetArray(v, &baseArray);CHKERRQ(ierr);
   array = &baseArray[s->atlasOff[p]];
   if (!cDim && doInterior) {