Skip to content
Snippets Groups Projects
Commit fc9a116f authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[python][timeloop] use Scalar instead of double

parent 7f441efd
No related branches found
No related tags found
1 merge request!3648Feature/improve timeloop
...@@ -50,7 +50,7 @@ void registerTimeLoop(pybind11::handle scope, ...@@ -50,7 +50,7 @@ void registerTimeLoop(pybind11::handle scope,
&TimeLoop::template setPeriodicCheckPoint<Scalar, Scalar>, &TimeLoop::template setPeriodicCheckPoint<Scalar, Scalar>,
"interval"_a, "offset"_a=0.0 "interval"_a, "offset"_a=0.0
); );
cls.def("setCheckPoints", [](TimeLoop& self, const std::vector<double>& checkPoints) { cls.def("setCheckPoints", [](TimeLoop& self, const std::vector<Scalar>& checkPoints) {
self.setCheckPoint(checkPoints); self.setCheckPoint(checkPoints);
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment