]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compiler warning 16509/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 20 Jan 2024 16:42:17 +0000 (11:42 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sat, 20 Jan 2024 16:42:17 +0000 (11:42 -0500)
source/fe/fe_q_base.cc

index 20dc0c5a2c66bca89e53ece4fc68801f4428ff9c..f5bfb1cc5ca3ee4a659c6217de939a9f80f06fcd 100644 (file)
@@ -1557,7 +1557,8 @@ FE_Q_Base<dim, spacedim>::get_restriction_matrix(
                   internal::FE_Q_Base::increment_indices<dim>(j_indices,
                                                               dofs1d);
                 }
-              Assert(std::fabs(sum_check - 1) <
+              (void)sum_check;
+              Assert(std::fabs(sum_check - 1.0) <
                        std::max(eps,
                                 5e-16 * std::sqrt(this->n_dofs_per_cell())),
                      ExcInternalError("The entries in a row of the local "

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.