diff --git a/dumux/python/common/timeloop.hh b/dumux/python/common/timeloop.hh index be7a40a67044604875b23a5f2757872da7cd741f..e033a16fce8822b742d159d1a2e38e1a13b1900f 100644 --- a/dumux/python/common/timeloop.hh +++ b/dumux/python/common/timeloop.hh @@ -51,7 +51,7 @@ void registerTimeLoop(pybind11::handle scope, "interval"_a, "offset"_a=0.0 ); cls.def("setCheckPoints", [](TimeLoop& self, const std::vector<Scalar>& checkPoints) { - self.setCheckPoint(checkPoints); + self.setCheckPoint(checkPoints.begin(), checkPoints.end()); }); }