mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Get rid of include directives inside namespace blocks (bug #339).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user