use byref() instead of pointer()

This commit is contained in:
Axel Kohlmeyer
2025-02-03 22:21:26 -05:00
parent 3c131f8c76
commit 87de8b79ca

View File

@ -1045,7 +1045,7 @@ class lammps(object):
""" """
tag = self.c_tagint(id) tag = self.c_tagint(id)
return self.lib.lammps_map_atom(self.lmp, pointer(tag)) return self.lib.lammps_map_atom(self.lmp, byref(tag))
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# extract per-atom info datatype # extract per-atom info datatype