Skip to content

Commit

Permalink
clang tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
alwinm committed Aug 1, 2023
1 parent c646b0f commit 5a550cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/reconstruction/ppmc_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ __global__ void PPMC_CTU(Real *dev_conserved, Real *dev_bounds_L, Real *dev_boun
ze = nz - 3;
break;
}
if (xid < xs || xid >= xe || yid < ys || yid >= ye || zid < zs || zid >= ze) return;
if (xid < xs || xid >= xe || yid < ys || yid >= ye || zid < zs || zid >= ze) {
return;
}

/*
// Ensure that we are only operating on cells that will be used
Expand Down

0 comments on commit 5a550cc

Please sign in to comment.