diff --git a/lib/serialisation/Hdf5IO.h b/lib/serialisation/Hdf5IO.h index 1c73bea3..0fb277b0 100644 --- a/lib/serialisation/Hdf5IO.h +++ b/lib/serialisation/Hdf5IO.h @@ -123,14 +123,14 @@ namespace Grid H5NS::DataSet dataSet; dataSet = group_.createDataSet(s, Hdf5Type::type(), dataSpace); - dataSet.write(flatx.data(), *Hdf5Type::type()); + dataSet.write(flatx.data(), Hdf5Type::type()); } else { H5NS::Attribute attribute; - attribute = group_.createAttribute(s, *Hdf5Type::type(), dataSpace); - attribute.write(*Hdf5Type::type(), flatx.data()); + attribute = group_.createAttribute(s, Hdf5Type::type(), dataSpace); + attribute.write(Hdf5Type::type(), flatx.data()); } }