fix bugs detected by GitHub Copilot

This commit is contained in:
Axel Kohlmeyer
2025-06-14 17:33:06 -04:00
parent 7dc4e17e0c
commit 90df96b16f
2 changed files with 2 additions and 2 deletions

View File

@ -323,7 +323,7 @@ class lammps(object):
self.lib.lammps_create_atoms.argtypes = \
[c_void_p, c_int, POINTER(self.c_tagint), POINTER(c_int), POINTER(c_double),
POINTER(c_double), POINTER(c_double), POINTER(self.c_imageint), c_int]
self.lib.lammps_create_atoms.retype = c_int
self.lib.lammps_create_atoms.restype = c_int
self.lib.lammps_create_molecule.argtypes = [c_void_p, c_char_p, c_char_p]
self.lib.lammps_create_molecule.restype = None