]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
fix template glitch
authorkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 10 Apr 2010 17:17:50 +0000 (17:17 +0000)
committerkanschat <kanschat@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 10 Apr 2010 17:17:50 +0000 (17:17 +0000)
git-svn-id: https://svn.dealii.org/trunk@20972 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/mesh_worker_loop.h

index 291cb80883e258675d06ac8680a5c4e02fdf5cee..e3c5364ead366b59b8710d5029712cc5acddcbbd 100644 (file)
@@ -230,7 +230,7 @@ namespace MeshWorker
  * @ingroup MeshWorker
  * @author Guido Kanschat, 2009
  */
-  template<int dim, int spacedim, class DOFINFO, class INFOBOX, typename ASSEMBLER, class ITERATOR>
+  template<int dim, int spacedim, class DOFINFO, class INFOBOX, class ASSEMBLER, class ITERATOR>
   void loop(ITERATOR begin,
            typename identity<ITERATOR>::type end,
            DOFINFO& dinfo,
@@ -285,7 +285,7 @@ namespace MeshWorker
                        ASSEMBLER &assembler,
                        bool cells_first = true)
   {
-    loop<dim, dim>
+    loop<dim, spacedim>
       (begin, end,
        dof_info,
        box,

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.