Commits

BarryFSmith committed 3a831ad

fixed argument to TaoVecGetSubVec()

Comments (0)

Files changed (2)

include/petsc-private/taoimpl.h

 
 #endif
 
-PETSC_INTERN PetscErrorCode TaoVecGetSubVec(Vec, IS, PetscInt, PetscReal, Vec*);
+PETSC_INTERN PetscErrorCode TaoVecGetSubVec(Vec, IS, TaoSubsetType, PetscReal, Vec*);
 PETSC_INTERN PetscErrorCode TaoMatGetSubMat(Mat, IS, Vec, TaoSubsetType, Mat*);

src/tao/bound/utils/isutil.c

   Note:
   maskvalue should usually be 0.0, unless a pointwise divide will be used.
 @*/
-PetscErrorCode TaoVecGetSubVec(Vec vfull, IS is, PetscInt reduced_type, PetscReal maskvalue, Vec *vreduced)
+PetscErrorCode TaoVecGetSubVec(Vec vfull, IS is, TaoSubsetType reduced_type, PetscReal maskvalue, Vec *vreduced)
 {
   PetscErrorCode ierr;
   PetscInt       nfull,nreduced,nreduced_local,rlow,rhigh,flow,fhigh;