]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid the use of Koenig lookup.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 09:55:08 +0000 (09:55 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Mar 2002 09:55:08 +0000 (09:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@5607 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_vanka.templates.h

index 69b61d658fcc945c68a8e6770957fe99df90131b..10b2ce093a957b2073256d410f558fd4d48d5aba 100644 (file)
@@ -411,9 +411,9 @@ SparseBlockVanka<number>::compute_dof_masks (const SparseMatrix<number> &M,
 {
   Assert (n_blocks > 0, ExcInternalError());
 
-  const unsigned int n_inverses = count (selected.begin(),
-                                        selected.end(),
-                                        true);
+  const unsigned int n_inverses = std::count (selected.begin(),
+                                             selected.end(),
+                                             true);
   
   const unsigned int n_inverses_per_block = std::max(n_inverses / n_blocks, 1U);
   

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.