diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 0f61a7f6dc8..4506166d715 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -3655,7 +3655,7 @@ void WarpX::SetDotMask( std::unique_ptr& field_dotMask, { // Define the dot mask for this field_type needed to properly compute dotProduct() // for field values that have shared locations on different MPI ranks - if (field_dotMask != nullptr) return; + if (field_dotMask != nullptr) { return; } const amrex::MultiFab* this_field = getFieldPointer(field_type,lev,dir); const amrex::BoxArray& this_ba = this_field->boxArray();