From: wolf Date: Tue, 15 Jun 2004 14:43:49 +0000 (+0000) Subject: Avoid the warning that so uselessly killed our nightly builds :-( X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4625783e99a6b2547f885624fbeac0aabe44352f;p=dealii-svn.git Avoid the warning that so uselessly killed our nightly builds :-( git-svn-id: https://svn.dealii.org/trunk@9428 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe.cc b/deal.II/deal.II/source/fe/fe.cc index 704b1cbe16..93b87e4aab 100644 --- a/deal.II/deal.II/source/fe/fe.cc +++ b/deal.II/deal.II/source/fe/fe.cc @@ -473,12 +473,11 @@ compute_2nd (const Mapping &mapping, & update_second_derivatives, ExcInternalError()); - const unsigned int total_nonzero_components - = std::accumulate (n_nonzero_components_table.begin(), - n_nonzero_components_table.end(), - 0U); -//TODO:[WB] Could not compile this! -// Assert (data.shape_2nd_derivatives.size() == total_nonzero_components, +// make sure we have as many entries as there are nonzero components +// Assert (data.shape_2nd_derivatives.size() == +// std::accumulate (n_nonzero_components_table.begin(), +// n_nonzero_components_table.end(), +// 0U), // ExcInternalError()); // Number of quadrature points const unsigned int n_q_points = data.shape_2nd_derivatives[0].size();