Fix various small issues detected by gcc

This commit is contained in:
Gael Guennebaud
2014-08-01 16:24:23 +02:00
parent c2ff44cbf3
commit 107bb308c3
5 changed files with 8 additions and 8 deletions

View File

@@ -375,7 +375,7 @@ public:
#endif
#ifdef EIGEN_TEST_EVALUATORS
Index rows() const { return Mode==Projective ? m_matrix.cols() : m_matrix.cols()-1; }
Index rows() const { return int(Mode)==int(Projective) ? m_matrix.cols() : (m_matrix.cols()-1); }
Index cols() const { return m_matrix.cols(); }
#endif