use byref() instead of pointer()
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user