Skip to content

Commit

Permalink
Remove unnecessary init
Browse files Browse the repository at this point in the history
  • Loading branch information
cscjlan committed Sep 9, 2024
1 parent 357d37c commit 7d2344c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/grid.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ template <typename T, int32_t stencil> class FsGrid {
const std::array<Task_t, 3>& decomposition = {0, 0, 0})
: globalSize(globalSize), numTasksPerDim(computeNumTasksPerDim(globalSize, decomposition,
getFSCommSize(getCommSize(parentComm)), stencil)),
periodic(periodic),
neighbourRankToIndex(std::vector<char>(getFSCommSize(getCommSize(parentComm)), MPI_PROC_NULL)) {
periodic(periodic) {
const int32_t parentRank = getCommRank(parentComm);
const int32_t parentCommSize = getCommSize(parentComm);
const int numRanks = getFSCommSize(parentCommSize);
Expand Down

0 comments on commit 7d2344c

Please sign in to comment.