]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Initialize an IntegrationInfo field. 3468/head
authorDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 02:24:39 +0000 (22:24 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 5 Nov 2016 02:24:39 +0000 (22:24 -0400)
This number is correctly filled by IntegrationInfo::initialize, but this
way it starts out with a bogus value (instead of an undefined one).

include/deal.II/meshworker/integration_info.h

index 996a2d496cd942d38f2c6c8513b034568de0d0ed..0953ba69131bb1c0e949ac890975027e173c71c4 100644 (file)
@@ -556,7 +556,8 @@ namespace MeshWorker
     :
     fevalv(0),
     multigrid(false),
-    global_data(std_cxx11::shared_ptr<VectorDataBase<dim, sdim> >(new VectorDataBase<dim, sdim>))
+    global_data(std_cxx11::shared_ptr<VectorDataBase<dim, sdim> >(new VectorDataBase<dim, sdim>)),
+    n_components(numbers::invalid_unsigned_int)
   {}
 
 

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.