From: wolf Date: Mon, 2 Jul 2001 16:13:07 +0000 (+0000) Subject: Explicitely convert an arg to the vector constructor to avoid that... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03a770da670a62f002578d03e2aa3d86bc5543a8;p=dealii-svn.git Explicitely convert an arg to the vector constructor to avoid that it tries to take the constructor that uses two input iterators. git-svn-id: https://svn.dealii.org/trunk@4793 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/fe/fe_q.cc b/deal.II/deal.II/source/fe/fe_q.cc index c9d4814dfb..396651c016 100644 --- a/deal.II/deal.II/source/fe/fe_q.cc +++ b/deal.II/deal.II/source/fe/fe_q.cc @@ -713,7 +713,7 @@ template std::vector FE_Q::get_dpo_vector(const unsigned int deg) { - std::vector dpo(dim+1, 1); + std::vector dpo(dim+1, static_cast(1)); for (unsigned int i=1; i