optimize A * v product for A sparse and row major

This commit is contained in:
Gael Guennebaud
2009-01-19 22:29:28 +00:00
parent 178858f1bd
commit 36c478cd6e
3 changed files with 7 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ class SparseVector
*/
inline Scalar& coeffRef(int i)
{
return m_data.atWithInsertiob(i);
return m_data.atWithInsertion(i);
}
public: