mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-13 01:05:36 +00:00
HDF5: typos
This commit is contained in:
parent
81e66d6631
commit
7423a352c5
@ -123,14 +123,14 @@ namespace Grid
|
|||||||
H5NS::DataSet dataSet;
|
H5NS::DataSet dataSet;
|
||||||
|
|
||||||
dataSet = group_.createDataSet(s, Hdf5Type<Element>::type(), dataSpace);
|
dataSet = group_.createDataSet(s, Hdf5Type<Element>::type(), dataSpace);
|
||||||
dataSet.write(flatx.data(), *Hdf5Type<Element>::type());
|
dataSet.write(flatx.data(), Hdf5Type<Element>::type());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
H5NS::Attribute attribute;
|
H5NS::Attribute attribute;
|
||||||
|
|
||||||
attribute = group_.createAttribute(s, *Hdf5Type<Element>::type(), dataSpace);
|
attribute = group_.createAttribute(s, Hdf5Type<Element>::type(), dataSpace);
|
||||||
attribute.write(*Hdf5Type<Element>::type(), flatx.data());
|
attribute.write(Hdf5Type<Element>::type(), flatx.data());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user