From 0fde98cfbc873ba154248463b8b33f1832db3fe3 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 27 Jan 2025 11:17:04 -0500 Subject: [PATCH] use POINTER() captitalization consistently --- python/lammps/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/lammps/core.py b/python/lammps/core.py index 15968ee605..bbfd5ba6f4 100644 --- a/python/lammps/core.py +++ b/python/lammps/core.py @@ -1607,14 +1607,14 @@ class lammps(object): def addstep_compute(self, nextstep): with ExceptionCheck(self): nextstep = self.c_bigint(nextstep) - return self.lib.lammps_addstep_compute(self.lmp, pointer(nextstep)) + return self.lib.lammps_addstep_compute(self.lmp, POINTER(nextstep)) # ------------------------------------------------------------------------- def addstep_compute_all(self, nextstep): with ExceptionCheck(self): nextstep = self.c_bigint(nextstep) - return self.lib.lammps_addstep_compute_all(self.lmp, pointer(nextstep)) + return self.lib.lammps_addstep_compute_all(self.lmp, POINTER(nextstep)) # -------------------------------------------------------------------------