Fix clang-tidy warnings in gpuhaloexchange_impl.cuh
authorSzilárd Páll <pall.szilard@gmail.com>
Thu, 17 Oct 2019 14:20:29 +0000 (16:20 +0200)
committerSzilárd Páll <pall.szilard@gmail.com>
Thu, 17 Oct 2019 14:21:05 +0000 (16:21 +0200)
Change-Id: Ifdbe7809c1f37808ed29d89253d1fb786c0c5ae7

src/gromacs/domdec/gpuhaloexchange_impl.cuh

index f3477b941bca3a944f14aa6502ca3ec3b6644eee..3652eca85be8c854e526b5c93465363d5e5809cb 100644 (file)
@@ -165,9 +165,9 @@ class GpuHaloExchange::Impl
         //! number of home atoms - offset of local halo region
         int                         numHomeAtoms_             = 0;
         //! remote GPU coordinates buffer pointer for pushing data
-        void                       *remoteXPtr_               = 0;
+        void                       *remoteXPtr_               = nullptr;
         //! remote GPU force buffer pointer for pushing data
-        void                       *remoteFPtr_               = 0;
+        void                       *remoteFPtr_               = nullptr;
         //! Periodic Boundary Conditions for this rank
         bool                        usePBC_                   = false;
         //! force shift buffer on device