From 0646519c8da3d5c02683461fe604ac35704fbf39 Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 5 Jul 2016 17:28:06 -0400 Subject: [PATCH] Convert '>>' to '> >' in templates in some tests. '>>' can only end a pair of template arguments in C++11, not C++03. --- tests/hp/hp_constraints_neither_dominate_01.cc | 4 ++-- tests/hp/step-27.cc | 2 +- tests/mpi/muelu_periodicity.cc | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/hp/hp_constraints_neither_dominate_01.cc b/tests/hp/hp_constraints_neither_dominate_01.cc index 8cf54b4189..3e2fa9d05f 100644 --- a/tests/hp/hp_constraints_neither_dominate_01.cc +++ b/tests/hp/hp_constraints_neither_dominate_01.cc @@ -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> shape_functions; + std::vector > shape_functions; std::vector 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> data_out; + DataOut > data_out; data_out.attach_dof_handler (dof_handler); // get material ids: diff --git a/tests/hp/step-27.cc b/tests/hp/step-27.cc index ec1365ddd1..92528626f3 100644 --- a/tests/hp/step-27.cc +++ b/tests/hp/step-27.cc @@ -85,7 +85,7 @@ namespace Step27 hp::QCollection face_quadrature_collection; hp::QCollection fourier_q_collection; - std_cxx11::shared_ptr> fourier; + std_cxx11::shared_ptr > fourier; std::vector ln_k; Table > fourier_coefficients; diff --git a/tests/mpi/muelu_periodicity.cc b/tests/mpi/muelu_periodicity.cc index cf656ee9b9..375e72d670 100644 --- a/tests/mpi/muelu_periodicity.cc +++ b/tests/mpi/muelu_periodicity.cc @@ -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>( - periodicity_vector, constraints, fe.component_mask(velocities)), - first_vector_components; + DoFTools::make_periodicity_constraints >( + periodicity_vector, constraints, fe.component_mask(velocities)), + first_vector_components; #endif } -- 2.39.5