Get rid of include directives inside namespace blocks (bug #339).

This commit is contained in:
Jitse Niesen
2012-04-15 11:06:28 +01:00
parent 84c93b048e
commit 3c412183b2
280 changed files with 1006 additions and 179 deletions

View File

@@ -28,6 +28,8 @@
#include "StemFunction.h"
namespace Eigen {
#if defined(_MSC_VER) || defined(__FreeBSD__)
template <typename Scalar> Scalar log2(Scalar v) { using std::log; return log(v)/log(Scalar(2)); }
#endif
@@ -462,4 +464,6 @@ const MatrixExponentialReturnValue<Derived> MatrixBase<Derived>::exp() const
return MatrixExponentialReturnValue<Derived>(derived());
}
} // end namespace Eigen
#endif // EIGEN_MATRIX_EXPONENTIAL