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

This commit is contained in:
sjplimp 2016-05-31 16:45:20 +00:00
parent 3c11e66b5a
commit 194a512168
2 changed files with 3 additions and 1 deletions

2
python/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.pyc
build

View File

@ -177,7 +177,7 @@ class lammps:
# double was allocated by library interface function
def extract_fix(self,id,style,type,i=0,j=0):
id = ide.encode()
id = id.encode()
if style == 0:
self.lib.lammps_extract_fix.restype = POINTER(c_double)
ptr = self.lib.lammps_extract_fix(self.lmp,id,style,type,i,j)