fix cut-n-paste bug in extract_setting() method

This commit is contained in:
Axel Kohlmeyer 2019-01-24 17:55:37 +01:00
parent 82905dc62d
commit 1927659fb1
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ class lammps(object):
def extract_setting(self, name):
if name: name = name.encode()
self.lib.lammps_extract_atom.restype = c_int
self.lib.lammps_extract_setting.restype = c_int
return int(self.lib.lammps_extract_setting(self.lmp,name))
# extract global info