fixes in determinant and homogeneous

This commit is contained in:
Gael Guennebaud
2009-08-06 16:54:55 +02:00
parent 3ac01b1400
commit 9822493aaf
3 changed files with 5 additions and 3 deletions

View File

@@ -217,8 +217,8 @@ struct ei_homogeneous_left_product_impl<Homogeneous<MatrixType,Vertical>,Lhs>
: m_lhs(lhs), m_rhs(rhs)
{}
inline int rows() const { m_lhs.rows(); }
inline int cols() const { m_rhs.cols(); }
inline int rows() const { return m_lhs.rows(); }
inline int cols() const { return m_rhs.cols(); }
template<typename Dest> void evalTo(Dest& dst) const
{

View File

@@ -41,6 +41,8 @@ const typename Derived::Scalar ei_bruteforce_det4_helper
* (matrix.coeff(m,2) * matrix.coeff(n,3) - matrix.coeff(n,2) * matrix.coeff(m,3));
}
// FIXME update computation of triangular det
const int TriangularDeterminant = 0;
template<typename Derived,