diff options
author | Thomas Capricelli <orzel@freehackers.org> | 2010-11-12 11:33:09 +0100 |
---|---|---|
committer | Thomas Capricelli <orzel@freehackers.org> | 2010-11-12 11:33:09 +0100 |
commit | d64e68c8bceff08f4773553d8b6cd920328545cc (patch) | |
tree | e5531edab6d043b6056f87d49eb2a2fc58fbe551 /unsupported/doc | |
parent | 9ba15cd63cd90a4c07fe25890fc631964587ea44 (diff) |
fix doc compilation
Diffstat (limited to 'unsupported/doc')
-rw-r--r-- | unsupported/doc/examples/BVH_Example.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unsupported/doc/examples/BVH_Example.cpp b/unsupported/doc/examples/BVH_Example.cpp index 9e9959a32..6b6fac075 100644 --- a/unsupported/doc/examples/BVH_Example.cpp +++ b/unsupported/doc/examples/BVH_Example.cpp @@ -5,7 +5,11 @@ using namespace Eigen; typedef AlignedBox<double, 2> Box2d; -Box2d internal::bounding_box(const Vector2d &v) { return Box2d(v, v); } //compute the bounding box of a single point +namespace Eigen { + namespace internal { + 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 { |