From 95105d3facd8e747401e4642d38c3cd35b708238 Mon Sep 17 00:00:00 2001 From: David Young Date: Tue, 21 Apr 2020 14:24:01 -0500 Subject: Prevent a spurious assertion by using the correct index, oops! --- src/H5Fvfd_swmr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index 231e7b1..6e11446 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -1234,7 +1234,7 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f, bool entering_api) * case where the new entry is *longer*, because the * extension could overlap with a second entry. */ - assert(old_mdf_idx[i].length == new_mdf_idx[i].length); + assert(old_mdf_idx[i].length == new_mdf_idx[j].length); hlog_fast(shadow_index_update, "writer moved shadow at slot %" PRIu32 -- cgit v0.12