git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8633 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-08-13 22:27:24 +00:00
parent bd34e152df
commit 9bb3b04ec4

View File

@ -70,7 +70,7 @@ class lammps:
def extract_atom(self,name,type):
if type == 0:
self.lib.lammps_extract_atom.restype = POINTER(c_int)
elif type == 0:
elif type == 1:
self.lib.lammps_extract_atom.restype = POINTER(POINTER(c_int))
elif type == 2:
self.lib.lammps_extract_atom.restype = POINTER(c_double)