Merge pull request #835 from junghans/fix_python

lammps.py: inconsistent use of tabs and spaces in indentation
This commit is contained in:
Steve Plimpton
2018-03-09 08:42:15 -07:00
committed by GitHub

View File

@ -110,7 +110,7 @@ class lammps(object):
# allow for int (like MPICH) or void* (like OpenMPI)
if comm:
if not lammps.has_mpi4py:
if not lammps.has_mpi4py:
raise Exception('Python mpi4py version is not 2 or 3')
if lammps.MPI._sizeof(lammps.MPI.Comm) == sizeof(c_int):
MPI_Comm = c_int