From 58fbefbd337622d2a5d2e38c11c3d9330e51eab2 Mon Sep 17 00:00:00 2001 From: Julian Kunkel Date: Tue, 19 Jan 2021 23:19:01 +0000 Subject: [PATCH] Bugfix IOR offsetting (fix before was incomplete). (#317) --- src/ior.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ior.c b/src/ior.c index 8175ce2..8a349a0 100755 --- a/src/ior.c +++ b/src/ior.c @@ -1916,6 +1916,7 @@ static IOR_offset_t WriteOrRead(IOR_param_t *test, IOR_results_t *results, i--; if(j == offsets){ j = 0; // current block is completed + i++; } for ( ; pairCnt < point->pairs_accessed; i++) { for ( ; j < offsets && pairCnt < point->pairs_accessed ; j++) {