Skip to content
Snippets Groups Projects
Commit 6be3769f authored by Harald Braun's avatar Harald Braun :penguin: Committed by Sergey Kosukhin
Browse files

Fix missing predication.

parent 48907d76
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!13Consolidation with CDI-PIO (develop)
......@@ -360,7 +360,7 @@ modelRun(struct model_config setup, MPI_Comm comm)
zaxisDestroy(zID);
#if USE_MPI
xt_idxlist_delete(varDesc[varIdx].partDesc);
xt_redist_delete(varDesc[varIdx].redist4gather);
if (setup.flags & PIO_WRITE_CONFIG_CHECKSUM_FLAG) xt_redist_delete(varDesc[varIdx].redist4gather);
#endif
for (size_t j = varIdx + 1; j < nVars; ++j)
if (zID == varDesc[j].zaxisID) varDesc[j].zaxisID = CDI_UNDEFID;
......
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