diff options
author | Gael Guennebaud <g.gael@free.fr> | 2010-01-05 15:38:20 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2010-01-05 15:38:20 +0100 |
commit | 39209edd713a20bfb325796f8eafdc8194eed38e (patch) | |
tree | 97e44663ba5d310af81fadabfa73fbef028487df /unsupported/test/BVH.cpp | |
parent | cab85218db9d4e22f2940f34f4cb2e5f5032f6a9 (diff) |
port unsupported modules to new API
Diffstat (limited to 'unsupported/test/BVH.cpp')
-rw-r--r-- | unsupported/test/BVH.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<typename Scalar, int Dim> AlignedBox<Scalar, Dim> ei_bounding_box(const Matrix<Scalar, Dim, 1> &v) { return AlignedBox<Scalar, Dim>(v); } template<int Dim> AlignedBox<double, Dim> ei_bounding_box(const Ball<Dim> &b) -{ return AlignedBox<double, Dim>(b.center.cwise() - b.radius, b.center.cwise() + b.radius); } +{ return AlignedBox<double, Dim>(b.center.array() - b.radius, b.center.array() + b.radius); } template<int Dim> |