From 6a2cccf403ac6045d987eb771b5ac904a33b122a Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Wed, 19 Mar 2003 04:36:44 +0000 Subject: "" svn path=/trunk/; revision=482 --- externals/grill/vasp/source/oploop.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'externals/grill/vasp/source/oploop.h') diff --git a/externals/grill/vasp/source/oploop.h b/externals/grill/vasp/source/oploop.h index 603cd7ce..9518edf1 100755 --- a/externals/grill/vasp/source/oploop.h +++ b/externals/grill/vasp/source/oploop.h @@ -67,11 +67,11 @@ WARRANTIES, see the file, "license.txt," in this distribution. #define _DE_LOOP(VAR,LEN,BODY) { \ for(VAR = 0; VAR < LEN; flext_base::ThrYield()) { \ register const I __m__ = _D_MIN(LEN,VAR+_D_BLOCK); \ - for(; VAR <= __m__-4; VAR += 4) { \ - BODY; \ - BODY; \ - BODY; \ - BODY; \ + for(; VAR <= __m__-4; ) { \ + BODY; ++VAR; \ + BODY; ++VAR; \ + BODY; ++VAR; \ + BODY; ++VAR; \ } \ for(; VAR < __m__; ++VAR) { \ BODY; \ @@ -82,11 +82,11 @@ WARRANTIES, see the file, "license.txt," in this distribution. #else #define _DE_LOOP(VAR,LEN,BODY) { \ - for(VAR = 0; VAR <= LEN-4; VAR += 4) { \ - BODY; \ - BODY; \ - BODY; \ - BODY; \ + for(VAR = 0; VAR <= LEN-4; ) { \ + BODY; ++VAR; \ + BODY; ++VAR; \ + BODY; ++VAR; \ + BODY; ++VAR; \ } \ for(; VAR < LEN; ++VAR) { \ BODY; \ -- cgit v1.2.1