Skip to content
Snippets Groups Projects
Commit 73dfcda5 authored by Oliver Sander's avatar Oliver Sander
Browse files

Merge branch 'parmetis_compile_error' into 'master'

[utility.parmetisgridpartitioner] fix "temporary cannot bind to non-const ref" error

See merge request !142
parents 4860c2e7 cd736f74
No related branches found
No related tags found
1 merge request!142[utility.parmetisgridpartitioner] fix "temporary cannot bind to non-const ref" error
Pipeline #
......@@ -130,7 +130,7 @@ namespace Dune
* \return std::vector with one uint per All_Partition element. For each Interior_Partition element, the entry is the
* number of the partition the element is assigned to.
*/
static std::vector<unsigned> repartition(const GridView& gv, const Dune::MPIHelper& mpihelper, real_type& itr = 1000) {
static std::vector<unsigned> repartition(const GridView& gv, const Dune::MPIHelper& mpihelper, real_type itr = 1000) {
// Create global index map
GlobalIndexSet<GridView> globalIndex(gv,0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment