Commit 8a630ff4 authored by Richard Berger's avatar Richard Berger
Browse files

Fixes coverity issue CID 179440

parent 617ca4e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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