Skip to content

Commit

Permalink
Merge pull request dealii#17543 from npcantrell/removed_void_cast_in_…
Browse files Browse the repository at this point in the history
…source/fe/fe_face.cc

removed (void) occurrences from source/fe/fe_face.cc
  • Loading branch information
tjhei authored Aug 16, 2024
2 parents f30207e + d4050c2 commit 71cca2f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions source/fe/fe_face.cc
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,6 @@ FE_FaceQ<dim, spacedim>::compare_for_domination(
const unsigned int codim) const
{
Assert(codim <= dim, ExcImpossibleInDim(dim));
(void)codim;

// vertex/line/face/cell domination
// --------------------------------
Expand Down Expand Up @@ -579,9 +578,6 @@ FE_FaceQ<1, spacedim>::get_subface_interpolation_matrix(
FullMatrix<double> &interpolation_matrix,
const unsigned int face_no) const
{
(void)x_source_fe;
(void)face_no;

Assert(interpolation_matrix.n() == this->n_dofs_per_face(face_no),
ExcDimensionMismatch(interpolation_matrix.n(),
this->n_dofs_per_face(face_no)));
Expand Down Expand Up @@ -834,7 +830,6 @@ FE_FaceP<dim, spacedim>::compare_for_domination(
const unsigned int codim) const
{
Assert(codim <= dim, ExcImpossibleInDim(dim));
(void)codim;

// vertex/line/face/cell domination
// --------------------------------
Expand Down Expand Up @@ -956,7 +951,6 @@ FE_FaceP<dim, spacedim>::get_subface_interpolation_matrix(
v_in(k) = this->poly_space.compute_value(i, p);
}
const double result = H.least_squares(v_out, v_in);
(void)result;
Assert(result < 1e-12, FETools::ExcLeastSquaresError(result));

for (unsigned int j = 0; j < source_fe->n_dofs_per_face(face_no); ++j)
Expand Down

0 comments on commit 71cca2f

Please sign in to comment.