]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize a variable to avoid a testsuite failure with ICC 14.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 14 Nov 2013 21:38:59 +0000 (21:38 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 14 Nov 2013 21:38:59 +0000 (21:38 +0000)
git-svn-id: https://svn.dealii.org/trunk@31662 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/create_rhs_01.cc

index 8eb80bd13f272c297344696cb6feb234eded11d7..6d020239e501ab6df91a22067000c803d90e136b 100644 (file)
@@ -76,7 +76,7 @@ void test ()
   Vector<double> rhs_vector(hp_dof_handler.n_dofs());
   Vector<double> rhs_vector2(hp_dof_handler2.n_dofs());
 
-  types::boundary_id myints[1];
+  types::boundary_id myints[1] = {0};
   std::set<types::boundary_id> boundary_indicators  (myints,myints+1);
   myints[0]=0;
   hp::QCollection<1>   quadrature;

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.