Commit 26b7f120 authored by Sebastian Eibl's avatar Sebastian Eibl

[BUGFIX] possible wrong early abort

parent af1f65c2
Pipeline #6319 passed with stage
in 55 minutes and 33 seconds
......@@ -982,7 +982,7 @@ void BlockForest::refresh()
for( auto phantom = phantomBlocks.begin(); phantom != phantomBlocks.end() && !performUpdate; ++phantom )
{
const auto & sourceProcess = phantom->second->getSourceProcess();
for( auto it = sourceProcess.begin(); it != sourceProcess.end(); ++it )
for( auto it = sourceProcess.begin(); it != sourceProcess.end() && !performUpdate; ++it )
performUpdate = ( *it != process_ );
}
mpi::allReduceInplace( performUpdate, mpi::LOGICAL_OR );
......
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