]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Testsuite: Fix invalid constructor calls
authorMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 22:16:09 +0000 (17:16 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 7 Sep 2015 22:16:09 +0000 (17:16 -0500)
This should have never been syntactically correct code...

tests/fe/nedelec_non_rect_face.cc

index f28b7b0b63044705f23483d07c47098fb5d3447a..fd15b4cd993752521adc02ddf5fe7ac6a0a7b091 100644 (file)
@@ -215,7 +215,7 @@ namespace Maxwell
 
     // storage for computed sol:
     std::vector<Tensor<1,dim> > sol(n_q_points);
-    Tensor<1,dim> curlsol(n_q_points);
+    Tensor<1,dim> curlsol;
 
     double h_curl_norm=0.0;
 
@@ -319,13 +319,13 @@ namespace Maxwell
 
     //RHS storage:
     std::vector<Vector<double> > rhs_value_list(n_q_points, Vector<double>(fe.n_components()));
-    Tensor<1,dim> rhs_value_vector(dim);
+    Tensor<1,dim> rhs_value_vector;
 
     // Neumann storage
     std::vector<Vector<double> > neumann_value_list(n_face_q_points, Vector<double>(fe.n_components()));
     std::vector<Tensor<1,dim> > normal_vector_list(fe_face_values.get_all_normal_vectors());
-    Tensor<1,dim> neumann_value_vector(dim);
-    Tensor<1,dim> neumann_value(dim);
+    Tensor<1,dim> neumann_value_vector;
+    Tensor<1,dim> neumann_value;
     Tensor<1,dim> normal_vector;
 
     // loop over all cells:

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.