]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Suppress a warning about an unused variable. 17572/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 20 Aug 2024 03:47:17 +0000 (21:47 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 20 Aug 2024 03:47:17 +0000 (21:47 -0600)
source/fe/fe_face.cc

index f624baf9890b1cdde6736db431c67ac6b8a1f402..78b4f7d5d1d89f210205b0b2da7243bee0a413f7 100644 (file)
@@ -950,7 +950,7 @@ FE_FaceP<dim, spacedim>::get_subface_interpolation_matrix(
                     face_quadrature.point(k), subface);
               v_in(k) = this->poly_space.compute_value(i, p);
             }
-          const double result = H.least_squares(v_out, v_in);
+          [[maybe_unused]] const double result = H.least_squares(v_out, v_in);
           Assert(result < 1e-12, FETools::ExcLeastSquaresError(result));
 
           for (unsigned int j = 0; j < source_fe->n_dofs_per_face(face_no); ++j)

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.