]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix the default constructor in NumberCache.
authorDavid Wells <drwells@email.unc.edu>
Tue, 3 May 2022 22:05:37 +0000 (18:05 -0400)
committerDavid Wells <drwells@email.unc.edu>
Tue, 3 May 2022 22:06:02 +0000 (18:06 -0400)
We should just delegate so that this is equivalent to zero DoFs.

source/dofs/number_cache.cc

index a99613c6b722e65276740c1674b677b582463354..63004942d11a0b1aad021ca804ceca846b2f7f3b 100644 (file)
@@ -28,8 +28,7 @@ namespace internal
   namespace DoFHandlerImplementation
   {
     NumberCache::NumberCache()
-      : n_global_dofs(0)
-      , n_locally_owned_dofs(0)
+      : NumberCache(0)
     {}
 
 

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.