]> https://gitweb.dealii.org/ - dealii.git/commitdiff
no cxx1 test fixes 609/head
authorTimo Heister <timo.heister@gmail.com>
Fri, 27 Feb 2015 02:28:24 +0000 (21:28 -0500)
committerTimo Heister <timo.heister@gmail.com>
Fri, 27 Feb 2015 02:28:24 +0000 (21:28 -0500)
Fix two tests that won't compile without c++ 11

tests/arpack/step-36_ar.cc
tests/deal.II/nedelec_non_rect_face.cc

index f84ebdc4325ab7c6d0e73c450acf74d599d53d2f..400c7c344e2f6a6eddf7b850836e94ffa7d6d4fc 100644 (file)
@@ -78,7 +78,7 @@ namespace Step36
     SparsityPattern                     sparsity_pattern;
     SparseMatrix<double>                stiffness_matrix, mass_matrix;
     std::vector<Vector<double> >        eigenfunctions;
-    std::vector<std::complex<double>>        eigenvalues;
+    std::vector<std::complex<double> >  eigenvalues;
 
     ConstraintMatrix constraints;
   };
index 283ad77f4fbaad6ccebeda5284a6a428206ea166..956849aede9b90d7021e229790120af70a6060cd 100644 (file)
@@ -323,7 +323,7 @@ namespace Maxwell
 
     // Neumann storage
     std::vector<Vector<double> > neumann_value_list(n_face_q_points, Vector<double>(fe.n_components()));
-    std::vector<Point<dim>> normal_vector_list(fe_face_values.get_normal_vectors());
+    std::vector<Point<dim> > normal_vector_list(fe_face_values.get_normal_vectors());
     Tensor<1,dim> neumann_value_vector(dim);
     Tensor<1,dim> neumann_value(dim);
     Tensor<1,dim> normal_vector;

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.