diff --git a/src/single_io.c b/src/single_io.c
index 2dc2ed3e4070671944fc8df82f8b7d2840f0a274..7478051f66aefd78028de521325fe33140ede4a6 100644
--- a/src/single_io.c
+++ b/src/single_io.c
@@ -101,8 +101,8 @@ void readArrayBackEnd(hid_t grp, char* name, enum DATA_TYPE type, int N,
   /* Check data type */
   h_type = H5Dget_type(h_data);
   if (h_type < 0) error("Unable to retrieve data type from the file");
-  if (!H5Tequal(h_type, hdf5Type(type)))
-    error("Non-matching types between the code and the file");
+  //if (!H5Tequal(h_type, hdf5Type(type)))
+  //  error("Non-matching types between the code and the file");
 
   /* Allocate temporary buffer */
   temp = malloc(N * dim * sizeOfType(type));
@@ -111,7 +111,7 @@ void readArrayBackEnd(hid_t grp, char* name, enum DATA_TYPE type, int N,
   /* Read HDF5 dataspace in temporary buffer */
   /* Dirty version that happens to work for vectors but should be improved */
   /* Using HDF5 dataspaces would be better */
-  h_err = H5Dread(h_data, h_type, H5S_ALL, H5S_ALL, H5P_DEFAULT, temp);
+  h_err = H5Dread(h_data, hdf5Type(type), H5S_ALL, H5S_ALL, H5P_DEFAULT, temp);
   if (h_err < 0) {
     error("Error while reading data array '%s'.", name);
   }