Skip to content

Commit

Permalink
maint: Vector::chop uses internally VecFilter to suppress compiler …
Browse files Browse the repository at this point in the history
…warning from PETSc
  • Loading branch information
andrsd committed Jan 4, 2025
1 parent 7f5d732 commit 430beec
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));

Check warning on line 193 in src/Vector.cpp

View check run for this annotation

Codecov / codecov/patch

src/Vector.cpp#L193

Added line #L193 was not covered by tests
}

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

0 comments on commit 430beec

Please sign in to comment.