From d4ba431117ae1050663c8672cd2f9914d12098bc Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 25 Jun 2025 00:31:44 -0400 Subject: [PATCH] use nullptr instead of NULL --- src/MISC/fix_ipi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MISC/fix_ipi.cpp b/src/MISC/fix_ipi.cpp index a713b9844b..e8cbe4741d 100644 --- a/src/MISC/fix_ipi.cpp +++ b/src/MISC/fix_ipi.cpp @@ -388,7 +388,7 @@ void FixIPI::initial_integrate(int /*vflag*/) // snapshot at neighbor list creation, minimizing the // number of neighbor list updates auto xhold = neighbor->get_xhold(); - if (xhold != NULL && !firsttime) { + if (xhold != nullptr && !firsttime) { // don't wrap if xhold is not used in the NL, or the // first call (because the NL is initialized from the // data file that might have nothing to do with the