pass eigen2's triangular test

This commit is contained in:
Benoit Jacob
2011-01-23 21:53:28 -05:00
parent 5c82fd7f40
commit 1dabd133cc
4 changed files with 54 additions and 5 deletions

View File

@@ -40,14 +40,14 @@ template<typename OtherDerived>
typename ExpressionType::PlainObject
Flagged<ExpressionType,Added,Removed>::solveTriangular(const MatrixBase<OtherDerived>& other) const
{
return m_matrix.template triangularView<Added>.solve(other.derived());
return m_matrix.template triangularView<Added>().solve(other.derived());
}
template<typename ExpressionType, unsigned int Added, unsigned int Removed>
template<typename OtherDerived>
void Flagged<ExpressionType,Added,Removed>::solveTriangularInPlace(const MatrixBase<OtherDerived>& other) const
{
m_matrix.template triangularView<Added>.solveInPlace(other.derived());
m_matrix.template triangularView<Added>().solveInPlace(other.derived());
}
#endif // EIGEN_TRIANGULAR_SOLVER2_H