From e80fac58cb4bf929d8d09e4bd998c3865118b567 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 20 Mar 2003 04:36:34 +0000 Subject: "" svn path=/trunk/; revision=484 --- externals/grill/vasp/source/obj_imm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'externals/grill/vasp/source/obj_imm.cpp') diff --git a/externals/grill/vasp/source/obj_imm.cpp b/externals/grill/vasp/source/obj_imm.cpp index 1c324e37..5b98a590 100644 --- a/externals/grill/vasp/source/obj_imm.cpp +++ b/externals/grill/vasp/source/obj_imm.cpp @@ -84,7 +84,7 @@ public: S *dst = imm.Pointer(); const S *src = buf->Pointer(); register int i; - _DE_LOOP(i,len, ( *(dst++) = *src,src += chns ) ) + _DE_LOOP(i,len, ( dst[i] = *src,src += chns ) ) Vasp ret(len,Vasp::Ref(imm)); ToOutVasp(0,ret); -- cgit v1.2.1