From a508eafb697b59b38dc95ce5f9bce07f66acb43a Mon Sep 17 00:00:00 2001 From: sjplimp Date: Fri, 24 May 2013 13:53:47 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9907 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_store_state.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/fix_store_state.cpp b/src/fix_store_state.cpp index 52ea62e968..1fade845d7 100644 --- a/src/fix_store_state.cpp +++ b/src/fix_store_state.cpp @@ -357,6 +357,9 @@ int FixStoreState::setmask() void FixStoreState::init() { // set indices and check validity of all computes,fixes,variables + // no error check if end_of_step() will not be called + + if (!firstflag && nevery == 0) return; for (int m = 0; m < nvalues; m++) { if (which[m] == COMPUTE) {