]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Minor changes to `TemporarilyRestoreSubdomainIds`. 11960/head
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 24 Mar 2021 20:07:55 +0000 (14:07 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 24 Mar 2021 20:20:15 +0000 (14:20 -0600)
include/deal.II/distributed/shared_tria.h

index fa10efbbefa003a3f438e3c6a5779ebb1f85a62a..724d288a33cc962ad1ef828a0282992a4b73d9c2 100644 (file)
@@ -503,7 +503,7 @@ namespace internal
        * true subdomain IDs. See the @ref GlossArtificialCell "glossary"
        * for more information about artificial cells.
        */
-      template <int dim, int spacedim>
+      template <int dim, int spacedim = dim>
       class TemporarilyRestoreSubdomainIds : public Subscriptor
       {
       public:
@@ -530,7 +530,7 @@ namespace internal
         /**
          * The modified parallel::shared::Triangulation.
          */
-        SmartPointer<
+        const SmartPointer<
           const dealii::parallel::shared::Triangulation<dim, spacedim>>
           shared_tria;
 

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.