]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Convert '>>' to '> >' in templates in some tests. 2751/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 5 Jul 2016 21:28:06 +0000 (17:28 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 5 Jul 2016 22:31:30 +0000 (18:31 -0400)
'>>' can only end a pair of template arguments in C++11, not C++03.

tests/hp/hp_constraints_neither_dominate_01.cc
tests/hp/step-27.cc
tests/mpi/muelu_periodicity.cc

index 8cf54b41891b45508c59e14a09bfdd2aada7a5d1..3e2fa9d05fe98132253d7acd20b010c633cc4e0e 100644 (file)
@@ -128,7 +128,7 @@ void test2cells(const unsigned int p1=2,
 #ifdef DEBUG_OUTPUT_VTK
   // output to check if all is good:
   counter++;
-  std::vector<Vector<double>> shape_functions;
+  std::vector<Vector<double> > shape_functions;
   std::vector<std::string> names;
   for (unsigned int s=0; s < dof_handler.n_dofs(); s++)
     {
@@ -152,7 +152,7 @@ void test2cells(const unsigned int p1=2,
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim,hp::DoFHandler<dim>> data_out;
+  DataOut<dim,hp::DoFHandler<dim> > data_out;
   data_out.attach_dof_handler (dof_handler);
 
   // get material ids:
index ec1365ddd1d48666685539e7629a034ef6bcb304..92528626f382a7e589bd7faaf81837dfec1c7215 100644 (file)
@@ -85,7 +85,7 @@ namespace Step27
     hp::QCollection<dim-1>   face_quadrature_collection;
 
     hp::QCollection<dim> fourier_q_collection;
-    std_cxx11::shared_ptr<FESeries::Fourier<dim>> fourier;
+    std_cxx11::shared_ptr<FESeries::Fourier<dim> > fourier;
     std::vector<double> ln_k;
     Table<dim,std::complex<double> > fourier_coefficients;
 
index cf656ee9b9a682342ec95105225a209de34a697c..375e72d670da6474fd0adf3849366ec3eb032ed1 100644 (file)
@@ -365,9 +365,9 @@ namespace Step22
       GridTools::collect_periodic_faces(
         dof_handler, 2, 3, 1, periodicity_vector, Tensor<1, dim>(), matrix);
 
-      DoFTools::make_periodicity_constraints<DoFHandler<dim>>(
-                                                             periodicity_vector, constraints, fe.component_mask(velocities)),
-                                                                                 first_vector_components;
+      DoFTools::make_periodicity_constraints<DoFHandler<dim> >(
+        periodicity_vector, constraints, fe.component_mask(velocities)),
+                            first_vector_components;
 #endif
     }
 

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.