From 5a7e01d0ab8ab894c5157fc2c6d09ef52d040b86 Mon Sep 17 00:00:00 2001 From: Zachary Ferguson Date: Tue, 10 Sep 2024 08:27:12 -0400 Subject: [PATCH] Remove comments --- src/ipc/collisions/collisions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ipc/collisions/collisions.cpp b/src/ipc/collisions/collisions.cpp index 2046e32f2..6b8a1965f 100644 --- a/src/ipc/collisions/collisions.cpp +++ b/src/ipc/collisions/collisions.cpp @@ -330,8 +330,8 @@ double Collisions::compute_minimum_distance( const Eigen::MatrixXi& faces = mesh.faces(); return tbb::parallel_reduce( - /*range=*/tbb::blocked_range(0, size()), - /*initial_min_distance=*/std::numeric_limits::infinity(), + tbb::blocked_range(0, size()), + std::numeric_limits::infinity(), [&](tbb::blocked_range r, double partial_min_dist) -> double { for (size_t i = r.begin(); i < r.end(); i++) { const double dist = (*this)[i].compute_distance( @@ -343,7 +343,7 @@ double Collisions::compute_minimum_distance( } return partial_min_dist; }, - /*combine=*/[](double a, double b) { return std::min(a, b); }); + [](double a, double b) { return std::min(a, b); }); } // ============================================================================