Skip to content
Snippets Groups Projects
Commit af471ec0 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[P|tools.adaptation-helper] fix warning

parent 7b83fbfd
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,9 @@ public:
auto& grid = self.grid();
auto grid_view = grid.leafGridView();
for (auto&& element : elements(grid_view))
grid.mark(self.markers[self.marker_indices.mapper().global_index(element, size_t(0))], element);
grid.mark(XT::Common::numeric_cast<int>(
self.markers[self.marker_indices.mapper().global_index(element, size_t(0))]),
element);
},
py::call_guard<py::gil_scoped_release>());
c.def(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment