Make non-conversion unary constructors explicit.

This commit is contained in:
Chen-Pang He
2013-07-11 02:31:13 +08:00
parent 4466875d54
commit a992fa74eb
3 changed files with 9 additions and 9 deletions

View File

@@ -425,7 +425,7 @@ public:
*
* \param[in] A %Matrix (expression) forming the argument of the matrix logarithm.
*/
MatrixLogarithmReturnValue(const Derived& A) : m_A(A) { }
explicit MatrixLogarithmReturnValue(const Derived& A) : m_A(A) { }
/** \brief Compute the matrix logarithm.
*