Skip to content
Snippets Groups Projects
Commit 44d6be27 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[BUGFIX] C++14 compatibility

parent 8558cb1f
Branches
Tags
No related merge requests found
......@@ -801,7 +801,7 @@ uint_t GlobalLoadBalancing::metis( const std::vector< BLOCK* >& blocks, const me
for( uint_t j = 0; j != block->getNeighborhoodSize(); ++j ) {
adjncy.push_back( numeric_cast<int64_t>( block->getNeighbor(j)->getIndex() ) );
adjwgt.push_back( metisConfig.communicationFunction().empty() ? 1 :
adjwgt.push_back( !metisConfig.communicationFunction() ? 1 :
( numeric_cast<int64_t>( static_cast< memory_t >(0.5) + metisConfig.communicationFunction()( block, block->getNeighbor(j) ) ) ) );
}
......
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