Skip to content
Snippets Groups Projects
Commit 32da9dc8 authored by Oliver Sander's avatar Oliver Sander Committed by Ansgar Burchardt
Browse files

Merge branch 'parmetis_compile_error' into 'master'

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

See merge request !142
parent 665370f5
No related branches found
No related tags found
1 merge request!187Merge branch 'parmetis_compile_error' into 'master'
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