]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix warning about deprecated implicit conversion.
authorMarc Fehling <mafehling.git@gmail.com>
Mon, 18 Sep 2023 05:40:14 +0000 (23:40 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Mon, 18 Sep 2023 05:40:14 +0000 (23:40 -0600)
source/fe/fe_hermite.cc

index 92be4a3c56c869219235a758715bf1173cf85b80..83d8980900e26d28f91e9711b39b31ad59ad812d 100644 (file)
@@ -491,7 +491,7 @@ FE_Hermite<dim, spacedim>::FE_Hermite(const unsigned int fe_degree)
                         false),
       std::vector<ComponentMask>(Utilities::pow(std::max(2U, fe_degree + 1),
                                                 dim),
-                                 std::vector<bool>(1, true)))
+                                 ComponentMask(1, true)))
   , regularity(internal::get_regularity_from_degree(fe_degree))
 {
   Assert((fe_degree % 2 == 1),

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.