Skip to content

Commit 64c2369

Browse files
committed
Undo change
1 parent f39814e commit 64c2369

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tight_inclusion/inclusion_ccd.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ namespace inclusion_ccd
3636
Scalar get_max_axis_diff(
3737
const std::array<Vector3d, 2> &b1, const std::array<Vector3d, 2> &b2)
3838
{
39-
return std::max({{
39+
return std::max({
4040
(b1[1] - b1[0]).maxCoeff(),
4141
(b2[1] - b2[0]).maxCoeff(),
4242
(b2[0] - b1[1]).cwiseAbs().maxCoeff(),
4343
(b1[0] - b2[1]).cwiseAbs().maxCoeff(),
44-
}});
44+
});
4545
}
4646

4747
inline Scalar max_linf_4(
@@ -55,10 +55,10 @@ namespace inclusion_ccd
5555
const Vector3d &p4e)
5656
{
5757
return std::max(
58-
{{(p1e - p1).lpNorm<Eigen::Infinity>(),
59-
(p2e - p2).lpNorm<Eigen::Infinity>(),
60-
(p3e - p3).lpNorm<Eigen::Infinity>(),
61-
(p4e - p4).lpNorm<Eigen::Infinity>()}});
58+
{(p1e - p1).lpNorm<Eigen::Infinity>(),
59+
(p2e - p2).lpNorm<Eigen::Infinity>(),
60+
(p3e - p3).lpNorm<Eigen::Infinity>(),
61+
(p4e - p4).lpNorm<Eigen::Infinity>()});
6262
}
6363

6464
Vector3d compute_face_vertex_tolerance_3d_new(

0 commit comments

Comments
 (0)