diff --git a/bark/python_wrapper/world/ltl.cpp b/bark/python_wrapper/world/ltl.cpp index ad07fc422..ffacb0287 100644 --- a/bark/python_wrapper/world/ltl.cpp +++ b/bark/python_wrapper/world/ltl.cpp @@ -103,7 +103,7 @@ void python_ltl(py::module m) { b.GetCheckLateralDist()); }, [](py::tuple t) { - if (t.size() != 11) + if (t.size() != 12) throw std::runtime_error("Invalid label evaluator state!"); return new SafeDistanceLabelFunction( t[0].cast(), t[1].cast(), @@ -484,4 +484,4 @@ void python_ltl(py::module m) { return new GenericEgoLabelFunction( t[0].cast()); })); -} \ No newline at end of file +}