Fixed warnings regarding missing assignment operator.

This commit is contained in:
Hauke Heibel 2010-06-11 07:59:59 +02:00
parent 988aaed964
commit cedea2aba4
2 changed files with 8 additions and 1 deletions

View File

@ -323,6 +323,8 @@ template<typename Derived> struct MatrixExponentialReturnValue
protected:
const Derived& m_src;
private:
MatrixExponentialReturnValue& operator=(const MatrixExponentialReturnValue&);
};
template<typename Derived>

View File

@ -116,9 +116,10 @@ class MatrixFunction<MatrixType, 0>
}
private:
const MatrixType& m_A; /**< \brief Reference to argument of matrix function. */
StemFunction *m_f; /**< \brief Stem function for matrix function under consideration */
MatrixFunction& operator=(const MatrixFunction&);
};
@ -182,6 +183,8 @@ class MatrixFunction<MatrixType, 1>
* separation constant is set to 0.1, a value taken from the
* paper by Davies and Higham. */
static const RealScalar separation() { return static_cast<RealScalar>(0.1); }
MatrixFunction& operator=(const MatrixFunction&);
};
/** \brief Constructor.
@ -526,6 +529,8 @@ template<typename Derived> class MatrixFunctionReturnValue
private:
const Derived& m_A;
StemFunction *m_f;
MatrixFunctionReturnValue& operator=(const MatrixFunctionReturnValue&);
};
template<typename Derived>