The TS-GitLab will have to shut down towards the end of the year — please think about migrating your projects to or GitHub.
(This is still a very early message, meant to keep you informed. There will be more urgent ones in the future.)

Commit 7b4e5694 authored by Lukas Riedel's avatar Lukas Riedel 🎧
Browse files

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.
* 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