diff --git a/src/neighbor.cpp b/src/neighbor.cpp index 687c676218..f3aed41f55 100644 --- a/src/neighbor.cpp +++ b/src/neighbor.cpp @@ -286,7 +286,7 @@ void Neighbor::init() // rRESPA cutoffs int respa = 0; - if (update->whichflag == 0 && strcmp(update->integrate_style,"respa") == 0) { + if (update->whichflag == 1 && strcmp(update->integrate_style,"respa") == 0) { if (((Respa *) update->integrate)->level_inner >= 0) respa = 1; if (((Respa *) update->integrate)->level_middle >= 0) respa = 2; }