diff --git a/src/parallel_io.c b/src/parallel_io.c index 53cd60205486b5c0f2b180a130cdb0f8ae39030a..d80a1080caf5f015668ac4dd59be73b6e397a5c1 100644 --- a/src/parallel_io.c +++ b/src/parallel_io.c @@ -75,7 +75,7 @@ void readArray(hid_t grp, const struct io_props prop, size_t N, const size_t num_elements = N * prop.dimension; /* Can't handle reads of more than 2GB */ - if (N * props.dimension * typeSize > HDF5_PARALLEL_IO_MAX_BYTES) + if (N * prop.dimension * typeSize > HDF5_PARALLEL_IO_MAX_BYTES) error("Dataset too large to be read in one pass!"); /* Check whether the dataspace exists or not */