From 2be36b47f54249fe56c6a71a84a496a65c656877 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 18 Aug 2009 18:00:30 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3104 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/neighbor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }