diff options
-rw-r--r-- | src/H5Tvlen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Tvlen.c b/src/H5Tvlen.c index 837adf7..693c727 100644 --- a/src/H5Tvlen.c +++ b/src/H5Tvlen.c @@ -216,7 +216,7 @@ H5T_vlen_set_loc(const H5T_t *dt, H5F_t *f, H5T_vlen_loc_t loc) assert(loc>H5T_VLEN_BADLOC && loc<H5T_VLEN_MAXLOC); /* Only change the location if it's different */ - if(loc!=dt->shared->u.vlen.loc) { + if(loc != dt->shared->u.vlen.loc || f != dt->shared->u.vlen.f) { /* Indicate that the location changed */ ret_value=TRUE; |