From cc6dd55028db3cc5fefe2787b9ebebd58eff0f43 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 22 Jun 2012 16:35:20 +0200 Subject: [PATCH] put the resurected files into the Eigen namespace --- Eigen/src/Core/AssignEvaluator.h | 4 ++++ Eigen/src/Core/CoreEvaluators.h | 4 ++++ Eigen/src/Core/Product.h | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/Eigen/src/Core/AssignEvaluator.h b/Eigen/src/Core/AssignEvaluator.h index 006a87d47..d52e9647e 100644 --- a/Eigen/src/Core/AssignEvaluator.h +++ b/Eigen/src/Core/AssignEvaluator.h @@ -27,6 +27,8 @@ #ifndef EIGEN_ASSIGN_EVALUATOR_H #define EIGEN_ASSIGN_EVALUATOR_H +namespace Eigen { + // This implementation is based on Assign.h namespace internal { @@ -679,4 +681,6 @@ void divide_assign_using_evaluator(const ArrayBase& dst, const Array } // namespace internal +} // end namespace Eigen + #endif // EIGEN_ASSIGN_EVALUATOR_H diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h index c060913fb..1d4ef8032 100644 --- a/Eigen/src/Core/CoreEvaluators.h +++ b/Eigen/src/Core/CoreEvaluators.h @@ -28,6 +28,8 @@ #ifndef EIGEN_COREEVALUATORS_H #define EIGEN_COREEVALUATORS_H +namespace Eigen { + namespace internal { template @@ -1154,4 +1156,6 @@ protected: } // namespace internal +} // end namespace Eigen + #endif // EIGEN_COREEVALUATORS_H diff --git a/Eigen/src/Core/Product.h b/Eigen/src/Core/Product.h index 9bea26886..f7824aa80 100644 --- a/Eigen/src/Core/Product.h +++ b/Eigen/src/Core/Product.h @@ -25,6 +25,8 @@ #ifndef EIGEN_PRODUCT_H #define EIGEN_PRODUCT_H +namespace Eigen { + template class Product; template class ProductImpl; @@ -124,4 +126,6 @@ prod(const Lhs& lhs, const Rhs& rhs) return Product(lhs,rhs); } +} // end namespace Eigen + #endif // EIGEN_PRODUCT_H