Bugfix IOR offsetting (fix before was incomplete). (#317)

master
Julian Kunkel 2021-01-19 23:19:01 +00:00 committed by GitHub
parent 19ad73568a
commit 58fbefbd33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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++) {