Commit f03e904b authored by Lukas Riedel's avatar Lukas Riedel

Merge branch 'fix-interpolator-dataset-shape' into 'master'

Reverse dataset shape when building interpolator in scaling adapter

See merge request !124
parents 049f266d 306f6f09
......@@ -122,6 +122,7 @@
### Fixed
* Solver in `RichardsSimulation` was using the wrong time variable.
[!116](https://ts-gitlab.iup.uni-heidelberg.de/dorie/dorie/merge_requests/116)
* Shape of input datasets was flipped when loading scaling factors !124
### Deprecated
* The configuration file key `[parameters.interpolation]` is deprecated due to
......
......@@ -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