Commit eab98f73 authored by Lukas Riedel's avatar Lukas Riedel

Fix bug where dataset shape was not reversed when building interpolator

parent bca7b615
......@@ -97,6 +97,7 @@ protected:
std::vector<RF> data;
std::vector<size_t> shape;
h5file.read_dataset(dataset, H5T_NATIVE_DOUBLE, data, shape);
std::reverse(begin(shape), end(shape));
// read extensions and offset
const auto ext = cfg["extensions"].as<std::vector<RF>>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment