Skip to content
Snippets Groups Projects
Commit 73b97e8c authored by Thomas Jahns's avatar Thomas Jahns :cartwheel: Committed by Sergey Kosukhin
Browse files

Shorten block with existing variable.

parent 06523733
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!13Consolidation with CDI-PIO (develop)
......@@ -594,8 +594,7 @@ cdiPioDistGridLazyRedistCreate(grid_t *gridptr, enum cdiPioGDsa saIdx)
}
if (!defXmap)
{
int inClientGroup = !commInqIsProcIO();
MPI_Comm comm = inClientGroup ? commInqCommModel() : commInqCommColl();
MPI_Comm comm = cdiPioDistGridComm;
xmap_new_func_ptr xmapNew = cdiPioGetConf()->xmap_new;
extraData->defXmaps[distType] = defXmap = xmapNew(extraData->partDesc[distType], distList, comm);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment