forked from lijiext/lammps
fix cut-n-paste bug in extract_setting() method
This commit is contained in:
parent
82905dc62d
commit
1927659fb1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue