]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug that I am puzzled about how it could pass compilation using
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 12 Mar 2001 16:14:16 +0000 (16:14 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 12 Mar 2001 16:14:16 +0000 (16:14 +0000)
gcc2.95.2!? Probably because iterators there were pointers, but how
could that have been promoted to an int?

git-svn-id: https://svn.dealii.org/trunk@4191 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 805a8a4515da6791b03d924b6c9943516c9b50ce..549ec5761e86c9177b15336630668a86363de56f 100644 (file)
@@ -235,7 +235,7 @@ MappingCartesian<dim>::compute_fill (const typename DoFHandler<dim>::cell_iterat
        }
                                       // furthermore, all normal
                                       // vectors on a face are equal
-      std::fill_n (normal_vectors.begin(), normal_vectors.end(), n);
+      std::fill (normal_vectors.begin(), normal_vectors.end(), n);
     }
   
   data.first_cell = false;

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.