whitspace cleanup and gitignore update

This commit is contained in:
Axel Kohlmeyer 2017-05-15 00:22:22 -04:00
parent df55a90ef6
commit d662f5d429
2 changed files with 5 additions and 3 deletions

2
src/.gitignore vendored
View File

@ -852,6 +852,8 @@
/python_impl.h
/fix_python.cpp
/fix_python.h
/pair_python.cpp
/pair_python.h
/reader_molfile.cpp
/reader_molfile.h
/reaxc_allocate.cpp

View File

@ -133,7 +133,7 @@ void PairPython::compute(int eflag, int vflag)
PyGILState_Release(gstate);
error->all(FLERR,"Could not create tuple for 'compute' function arguments");
}
PyObject *py_rsq, *py_itype, *py_jtype, *py_value;
// loop over neighbors of my atoms
@ -299,7 +299,7 @@ void PairPython::coeff(int narg, char **arg)
PyGILState_Release(gstate);
error->all(FLERR,"Could not create tuple for 'map_coeff' function arguments");
}
PyObject *py_type, *py_name, *py_value;
for (int i = 1; i <= ntypes ; i++) {
py_type = PY_INT_FROM_LONG(i);
@ -321,7 +321,7 @@ void PairPython::coeff(int narg, char **arg)
}
}
}
Py_DECREF(py_map_args);
Py_DECREF(py_map_args);
PyGILState_Release(gstate);
}