Fix bug #482: pass scalar value by const reference (it remained a few cases)

This commit is contained in:
Gael Guennebaud
2013-04-12 15:26:55 +02:00
parent 43f4fd4d71
commit 9816e8532e
10 changed files with 16 additions and 16 deletions

View File

@@ -457,7 +457,7 @@ template<typename Derived> class MatrixBase
const MatrixFunctionReturnValue<Derived> sin() const;
const MatrixSquareRootReturnValue<Derived> sqrt() const;
const MatrixLogarithmReturnValue<Derived> log() const;
const MatrixPowerReturnValue<Derived> pow(RealScalar p) const;
const MatrixPowerReturnValue<Derived> pow(const RealScalar& p) const;
#ifdef EIGEN2_SUPPORT
template<typename ProductDerived, typename Lhs, typename Rhs>