diff options
Diffstat (limited to 'examples/h5_reference.c')
-rw-r--r-- | examples/h5_reference.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_reference.c b/examples/h5_reference.c index 31aa2cf..758002f 100644 --- a/examples/h5_reference.c +++ b/examples/h5_reference.c @@ -128,7 +128,7 @@ main(void) { /* * Get datatype of the dataset "B" */ - did_b = H5Rdereference(did_r, H5R_OBJECT, &rbuf[1]); + did_b = H5Rdereference2(did_r, H5P_DEFAULT, H5R_OBJECT, &rbuf[1]); tid_b = H5Dget_type(did_b); if(H5Tequal(tid_b, H5T_NATIVE_FLOAT)) printf("Datatype of the dataset is H5T_NATIVE_FLOAT.\n"); |