Unverified Commit 943540b0 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

bugfix for extracting length of local data through python interface

parent 980ef809
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -486,6 +486,7 @@ class lammps(object):
        return None
      elif style == 2:
        self.lib.lammps_extract_compute.restype = POINTER(c_int)
        ptr = self.lib.lammps_extract_compute(self.lmp,id,style,type)
        return ptr[0]
    if type == 1:
      self.lib.lammps_extract_compute.restype = POINTER(c_double)