From 39209edd713a20bfb325796f8eafdc8194eed38e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 5 Jan 2010 15:38:20 +0100 Subject: port unsupported modules to new API --- unsupported/test/BVH.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/test/BVH.cpp') diff --git a/unsupported/test/BVH.cpp b/unsupported/test/BVH.cpp index 6d4bb70dc..4abf7f5bd 100644 --- a/unsupported/test/BVH.cpp +++ b/unsupported/test/BVH.cpp @@ -45,7 +45,7 @@ EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(double, Dim) template AlignedBox ei_bounding_box(const Matrix &v) { return AlignedBox(v); } template AlignedBox ei_bounding_box(const Ball &b) -{ return AlignedBox(b.center.cwise() - b.radius, b.center.cwise() + b.radius); } +{ return AlignedBox(b.center.array() - b.radius, b.center.array() + b.radius); } template -- cgit v1.2.3