Skip to content

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

Tobias Leibner requested to merge (removed):parmetis_compile_error into master

As requested in MR !136 (merged) , here is a separate MR for the parmetis compilation error. The problem is that the default value 1000 cannot be assigned to the non-const reference real_type& itr. I do not think a reference is needed here, as the only use of itr is that it is passed to parMETIS_V3_AdaptiveRepart, which does not change the value as far as the documentation is concerned.

Merge request reports

Loading