1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

HDF5: typos

This commit is contained in:
Antonin Portelli 2017-01-19 18:33:04 -08:00
parent 81e66d6631
commit 7423a352c5

View File

@ -123,14 +123,14 @@ namespace Grid
H5NS::DataSet dataSet;
dataSet = group_.createDataSet(s, Hdf5Type<Element>::type(), dataSpace);
dataSet.write(flatx.data(), *Hdf5Type<Element>::type());
dataSet.write(flatx.data(), Hdf5Type<Element>::type());
}
else
{
H5NS::Attribute attribute;
attribute = group_.createAttribute(s, *Hdf5Type<Element>::type(), dataSpace);
attribute.write(*Hdf5Type<Element>::type(), flatx.data());
attribute = group_.createAttribute(s, Hdf5Type<Element>::type(), dataSpace);
attribute.write(Hdf5Type<Element>::type(), flatx.data());
}
}