]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid the warning that so uselessly killed our nightly builds :-(
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jun 2004 14:43:49 +0000 (14:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 15 Jun 2004 14:43:49 +0000 (14:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@9428 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe.cc

index 704b1cbe16a41700230a514f1adb7c9fe456b096..93b87e4aab760e79d8fd1ef8daeaf20bffb54f77 100644 (file)
@@ -473,12 +473,11 @@ compute_2nd (const Mapping<dim>                   &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();

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.