* Find SuperLU also when it is installed without a superlu/ prefix

* Some more CoeffReturnType changes
This commit is contained in:
Benoit Jacob
2009-04-01 14:07:38 +00:00
parent 113fc3a260
commit 0f8e692b3f
6 changed files with 22 additions and 19 deletions

View File

@@ -77,21 +77,21 @@ template<typename MatrixType> class Transpose
return m_matrix.const_cast_derived().coeffRef(col, row);
}
inline const Scalar coeff(int row, int col) const
inline Scalar& coeffRef(int index)
{
return m_matrix.const_cast_derived().coeffRef(index);
}
inline const CoeffReturnType coeff(int row, int col) const
{
return m_matrix.coeff(col, row);
}
inline const Scalar coeff(int index) const
inline const CoeffReturnType coeff(int index) const
{
return m_matrix.coeff(index);
}
inline Scalar& coeffRef(int index)
{
return m_matrix.const_cast_derived().coeffRef(index);
}
template<int LoadMode>
inline const PacketScalar packet(int row, int col) const
{