diff options
Diffstat (limited to 'unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h')
-rw-r--r-- | unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index c9aeb3321..6cdd65748 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -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 |