aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vectors-8-SSE2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vectors-8-SSE2.h b/src/vectors-8-SSE2.h
index fe231b7..9856920 100644
--- a/src/vectors-8-SSE2.h
+++ b/src/vectors-8-SSE2.h
@@ -142,7 +142,7 @@
// Store a partial vector (aligned and non-temporal)
#define vec8_store_partial_prepare(i,imin,imax) \
bool const v8stp_lo = (i)>=(imin); \
- bool const v8stp_hi = (i)+CCTK_REAL_VEC_SIZE<(imax)
+ bool const v8stp_hi = (i)+CCTK_REAL_VEC_SIZE-1<(imax)
#if VECTORISE_STREAMING_STORES && defined(__SSE4A__)
# define vec8_store_nta_partial(p,x) \
({ \