summaryrefslogtreecommitdiffstats
path: root/src/H5HFcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HFcache.c')
-rw-r--r--src/H5HFcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c
index 2b34604..fbeecc8 100644
--- a/src/H5HFcache.c
+++ b/src/H5HFcache.c
@@ -1064,7 +1064,7 @@ H5HF_cache_iblock_load(H5F_t *f, hid_t dxpl_id, haddr_t addr, const void *_nrows
iblock->next_dir_size = shared->man_dtable.cparam.start_block_size;
else
iblock->next_dir_size = shared->man_dtable.cparam.start_block_size * (1 << (iblock->next_dir_row - 1));
- if(heap_addr == 0)
+ if(iblock->block_off == 0)
iblock->max_direct_rows = shared->man_dtable.max_direct_rows;
else
HGOTO_ERROR(H5E_HEAP, H5E_UNSUPPORTED, NULL, "computing max direct rows for non-root indirect block not supported yet")