]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make things compile in C++98 mode as well.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 Jul 2013 16:33:27 +0000 (16:33 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 16 Jul 2013 16:33:27 +0000 (16:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@30011 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/fe_values_view_tensor_01.cc

index b195e19f9b17ebcbc1a42ebfdd83e75c321191d9..29172db9379ad5dcab0b212f9dc0da203bd4bd94 100644 (file)
@@ -175,10 +175,10 @@ void MixedElastoPlasticity<dim>::assemble_system()
                                                 endc = dof_handler.end();
                                                    
 
-  std::vector<Tensor<1,dim>> div_values(n_q_points);
-  std::vector<Tensor<2,dim>> stress_values(n_q_points);
+  std::vector<Tensor<1,dim> > div_values(n_q_points);
+  std::vector<Tensor<2,dim> > stress_values(n_q_points);
                                                                      
-  unsigned int cc = 0;                                                                     
+  unsigned int cc = 0;
   for (; cell!=endc; ++cell) //loop over all cells
     {
       deallog<<++cc<<" ";
@@ -189,8 +189,7 @@ void MixedElastoPlasticity<dim>::assemble_system()
         
       fe_values[stress_extr].get_function_values(solution,stress_values);
       fe_values[stress_extr].get_function_divergences(solution,div_values);
-        
-    }          
+    }
 }
 
 template <int dim>

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.