aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-06-14 11:32:09 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-06-14 11:32:09 +0200
commitf925dba3d981829fce7b383bec4d52fe41a023a4 (patch)
treebc85cc037440c630dc571b8c3a9e30109a46ac9b
parent12350d3ac7a1192407b0f920bd937d4f753ec118 (diff)
Fix compilation of BVH example
-rw-r--r--unsupported/doc/examples/BVH_Example.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/unsupported/doc/examples/BVH_Example.cpp b/unsupported/doc/examples/BVH_Example.cpp
index 6b6fac075..afb0c94c2 100644
--- a/unsupported/doc/examples/BVH_Example.cpp
+++ b/unsupported/doc/examples/BVH_Example.cpp
@@ -6,9 +6,7 @@ using namespace Eigen;
typedef AlignedBox<double, 2> Box2d;
namespace Eigen {
- namespace internal {
- Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point
- }
+ Box2d bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point
}
struct PointPointMinimizer //how to compute squared distances between points and rectangles