diff options
Diffstat (limited to 'sci-physics/lammps/files/lammps-python3-r2.patch')
-rw-r--r-- | sci-physics/lammps/files/lammps-python3-r2.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sci-physics/lammps/files/lammps-python3-r2.patch b/sci-physics/lammps/files/lammps-python3-r2.patch deleted file mode 100644 index a447c4b3a303..000000000000 --- a/sci-physics/lammps/files/lammps-python3-r2.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lammps-23Mar16/python/lammps.py (original) -+++ lammps-23Mar16/python/lammps.py (refactored) -@@ -208,7 +208,7 @@ - result = (c_double*nlocal)() - self.lib.lammps_extract_variable.restype = POINTER(c_double) - ptr = self.lib.lammps_extract_variable(self.lmp,name,group) -- for i in xrange(nlocal): result[i] = ptr[i] -+ for i in range(nlocal): result[i] = ptr[i] - self.lib.lammps_free(ptr) - return result - return None |