Skip to content

Commit

Permalink
small fix to pennant without control replication
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsighter committed Jul 1, 2020
1 parent 8268aec commit b098162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mesh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ Mesh::Mesh(
wxy = new WriteXY(this);
egold = new ExportGold(this);

#ifndef NO_LEGION_CONTROL_REPLICATION
// Call this to populate the numpcx and numpcy fields
gmesh->calcNumPieces(numpcs);
#ifndef NO_LEGION_CONTROL_REPLICATION
PennantShardingFunctor *functor =
new PennantShardingFunctor(gmesh->numpcx, gmesh->numpcy);
runtime->register_sharding_functor(PENNANT_SHARD_ID, functor,
Expand Down

0 comments on commit b098162

Please sign in to comment.