diff --git a/dart/constraint/BoxedLcpConstraintSolver.cpp b/dart/constraint/BoxedLcpConstraintSolver.cpp index 7919644cab82c..8b28f925bf6cf 100644 --- a/dart/constraint/BoxedLcpConstraintSolver.cpp +++ b/dart/constraint/BoxedLcpConstraintSolver.cpp @@ -565,6 +565,7 @@ void BoxedLcpConstraintSolver::solveConstrainedGroups() // Solve problems { DART_PROFILE_SCOPED_N("Solve problems"); + tf::Taskflow mTaskflow; mTaskflow.for_each_index(0, numGroups, 1, [&](int i) { solveBoxedLcp(mProblems[i], mConstrainedGroups[i]); }); diff --git a/dart/constraint/BoxedLcpConstraintSolver.hpp b/dart/constraint/BoxedLcpConstraintSolver.hpp index c57f7b797e1e1..5fd8c8540862b 100644 --- a/dart/constraint/BoxedLcpConstraintSolver.hpp +++ b/dart/constraint/BoxedLcpConstraintSolver.hpp @@ -251,7 +251,7 @@ class BoxedLcpConstraintSolver : public ConstraintSolver std::vector mProblems; tf::Executor mExecutor; - tf::Taskflow mTaskflow; + // tf::Taskflow mTaskflow; }; } // namespace constraint