Skip to content

Commit

Permalink
Merge pull request #672 from andrsd/vec-chop
Browse files Browse the repository at this point in the history
maint: `Vector::chop` uses internally VecFilter to suppress compiler warning from PETSc
  • Loading branch information
andrsd authored Jan 4, 2025
2 parents c170fb8 + 430beec commit 63e182d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void
Vector::chop(Real tol)
{
CALL_STACK_MSG();
PETSC_CHECK(VecChop(this->vec, tol));
PETSC_CHECK(VecFilter(this->vec, tol));
}

#if PETSC_VERSION_GE(3, 20, 0)
Expand Down

0 comments on commit 63e182d

Please sign in to comment.