From 5a550cc893ca7222d69ec5c63f4e807797876026 Mon Sep 17 00:00:00 2001 From: Alwin Date: Tue, 1 Aug 2023 10:20:43 -0400 Subject: [PATCH] clang tidy --- src/reconstruction/ppmc_cuda.cu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/reconstruction/ppmc_cuda.cu b/src/reconstruction/ppmc_cuda.cu index aaec9895a..efe3e51c1 100644 --- a/src/reconstruction/ppmc_cuda.cu +++ b/src/reconstruction/ppmc_cuda.cu @@ -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