]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Explicitely convert an arg to the vector<unsigned int> constructor to avoid that...
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 16:13:07 +0000 (16:13 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jul 2001 16:13:07 +0000 (16:13 +0000)
git-svn-id: https://svn.dealii.org/trunk@4793 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/fe_q.cc

index c9d4814dfb1f52208e1d0b6acbe99163102138e4..396651c016e8ba4163eaaaae91c0abf4ff202e41 100644 (file)
@@ -713,7 +713,7 @@ template <int dim>
 std::vector<unsigned int>
 FE_Q<dim>::get_dpo_vector(const unsigned int deg)
 {
-  std::vector<unsigned int> dpo(dim+1, 1);
+  std::vector<unsigned int> dpo(dim+1, static_cast<unsigned int>(1));
   for (unsigned int i=1; i<dpo.size(); ++i)
     dpo[i]=dpo[i-1]*(deg-1);
   return dpo;

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.