From: Timo Heister Date: Sat, 20 Jan 2024 16:42:17 +0000 (-0500) Subject: fix compiler warning X-Git-Tag: relicensing~129^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d9c8517fbd60586b3da2dbc61bea43605abc376;p=dealii.git fix compiler warning --- diff --git a/source/fe/fe_q_base.cc b/source/fe/fe_q_base.cc index 20dc0c5a2c..f5bfb1cc5c 100644 --- a/source/fe/fe_q_base.cc +++ b/source/fe/fe_q_base.cc @@ -1557,7 +1557,8 @@ FE_Q_Base::get_restriction_matrix( internal::FE_Q_Base::increment_indices(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 "