Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd authored Sep 6, 2024
1 parent 27a3693 commit 6afbcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/dolfinx/common/IndexMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ compute_submap_indices(const IndexMap& imap,
for (int j = recv_disp[i]; j < recv_disp[i + 1]; ++j)
{
// Compute the local index
std::int32_t idx = recv_indices[j];
std::int64_t idx = recv_indices[j];
assert(idx >= 0);
std::int32_t idx_local = idx - local_range[0];
assert(idx_local >= 0);
Expand Down

0 comments on commit 6afbcca

Please sign in to comment.