]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix compilation error in tria_base.cc 11874/head
authorNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 9 Mar 2021 10:28:42 +0000 (11:28 +0100)
committerNiklas Fehn <fehn@lnm.mw.tum.de>
Tue, 9 Mar 2021 10:28:42 +0000 (11:28 +0100)
source/distributed/tria_base.cc

index c527125e1b824655402e6faf07f96c53f8ac0bb8..c497bc94c54c64b793656a90f84eb91cbf04626d 100644 (file)
@@ -406,9 +406,8 @@ namespace parallel
                              cell_counter[my_subdomain + 1]);
           IndexSet is_ghost(cell_counter.back());
           number_cache.active_cell_index_partitioner =
-            Utilities::MPI::Partitioner(is_local,
-                                        is_ghost,
-                                        this->mpi_communicator);
+            std::make_shared<const Utilities::MPI::Partitioner>(
+              is_local, is_ghost, this->mpi_communicator);
 
           // set global active cell indices and increment process-local counters
           for (const auto &cell : this->active_cell_iterators())

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.