]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Avoid default arguments on template parameters for function templates.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Apr 2014 15:47:11 +0000 (15:47 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Apr 2014 15:47:11 +0000 (15:47 +0000)
git-svn-id: https://svn.dealii.org/trunk@32773 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/codim_01.cc

index 3c77850ef22dd510445a522e37a303e076cd431c..0125f5766e9a736e780933b0bb64a51d643ab702 100644 (file)
@@ -1,7 +1,7 @@
 // ---------------------------------------------------------------------
 // $Id: 2d_refinement_01.cc 31349 2013-10-20 19:07:06Z maier $
 //
-// Copyright (C) 2008 - 2013 by the deal.II authors
+// Copyright (C) 2008 - 2014 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -33,7 +33,7 @@
 #include <fstream>
 #include <deal.II/fe/fe_q.h>
 
-template <int dim, int spacedim=dim>
+template <int dim>
 void write_vtk (const parallel::distributed::Triangulation<dim,spacedim> &tria,
                 const char                                *filename)
 {
@@ -73,7 +73,7 @@ void test(std::ostream & /*out*/)
 
   GridGenerator::torus(tr, 1, 0.2);
   tr.refine_global();
-  
+
   tr.begin_active()->set_refine_flag();
   (++(tr.begin_active()))->set_refine_flag();
 
@@ -112,6 +112,6 @@ int main(int argc, char *argv[])
   MPILogInitAll init;
 
   deallog.push("2-3");
-  test<2,3>(deallog.get_file_stream());  
+  test<2,3>(deallog.get_file_stream());
   deallog.pop();
 }

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.