Fixes coverity issue CID 179440

This commit is contained in:
Richard Berger
2017-05-22 17:32:07 -04:00
parent 617ca4e0c8
commit 8a630ff4ec

View File

@ -47,6 +47,8 @@ FixPython::FixPython(LAMMPS *lmp, int narg, char **arg) :
selected_callback = POST_FORCE;
} else if (strcmp(arg[4],"end_of_step") == 0) {
selected_callback = END_OF_STEP;
} else {
error->all(FLERR,"Unsupported callback name for fix/python");
}
// get Python function