Commit 0bdf14c2 authored by Lukas Riedel's avatar Lukas Riedel 📝

Use level grid view to get grid extensions in interpolator factory

parent 92bedd3e
......@@ -241,7 +241,8 @@ static auto create (
Traits>>
{
/// retrieve extensions and offset from grid extensions
const auto [offset, upper_right] = get_grid_extensions(grid_view);
const auto level_gv = grid_view.grid().levelGridView(0);
const auto [offset, upper_right] = get_grid_extensions(level_gv);
const auto extensions = upper_right - offset;
/// call the actual creator
......
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