Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / mdlib / perf_est.cpp
index d6140720d6ea8197d2a3c2e8b4f0c5ecfde168c1..ea4549eaf2b01a61f1d18e14f195952eea28f93c 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2016,2017, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -267,11 +267,11 @@ void count_bonded_distances(const gmx_mtop_t *mtop, const t_inputrec *ir,
         fprintf(debug, "nr. of distance calculations in bondeds: C %.1f SIMD %.1f\n", ndtot_c, ndtot_simd);
     }
 
-    if (ndistance_c    != NULL)
+    if (ndistance_c    != nullptr)
     {
         *ndistance_c    = ndtot_c;
     }
-    if (ndistance_simd != NULL)
+    if (ndistance_simd != nullptr)
     {
         *ndistance_simd = ndtot_simd;
     }