From 70c91c3392f7c6914a4ce7342e3091c6cbf1766f Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 18 Aug 2009 18:02:10 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3108 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/KSPACE/pair_lj_charmm_coul_long.cpp | 2 +- src/KSPACE/pair_lj_cut_coul_long.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KSPACE/pair_lj_charmm_coul_long.cpp b/src/KSPACE/pair_lj_charmm_coul_long.cpp index e5d5a3fcb8..5269e8e3db 100644 --- a/src/KSPACE/pair_lj_charmm_coul_long.cpp +++ b/src/KSPACE/pair_lj_charmm_coul_long.cpp @@ -729,7 +729,7 @@ void PairLJCharmmCoulLong::init_style() int irequest; - if (update->whichflag == 0 && strcmp(update->integrate_style,"respa") == 0) { + if (update->whichflag == 1 && strcmp(update->integrate_style,"respa") == 0) { int respa = 0; if (((Respa *) update->integrate)->level_inner >= 0) respa = 1; if (((Respa *) update->integrate)->level_middle >= 0) respa = 2; diff --git a/src/KSPACE/pair_lj_cut_coul_long.cpp b/src/KSPACE/pair_lj_cut_coul_long.cpp index 3bd88adc77..0899ee349b 100644 --- a/src/KSPACE/pair_lj_cut_coul_long.cpp +++ b/src/KSPACE/pair_lj_cut_coul_long.cpp @@ -673,7 +673,7 @@ void PairLJCutCoulLong::init_style() int irequest; - if (update->whichflag == 0 && strcmp(update->integrate_style,"respa") == 0) { + if (update->whichflag == 1 && strcmp(update->integrate_style,"respa") == 0) { int respa = 0; if (((Respa *) update->integrate)->level_inner >= 0) respa = 1; if (((Respa *) update->integrate)->level_middle >= 0) respa = 2;