Commit 7b4e5694 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

(cherry picked from commit f03e904b)
parent c3fd7c01
......@@ -121,6 +121,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
......
......@@ -96,6 +96,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