Commit 73dfcda5 authored by Oliver Sander's avatar Oliver Sander

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
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment