Fix #1818: SparseLU: add methods nnzL() and nnzU()

Now this compiles without errors:

$ clang++ -I ../../ test_sparseLU.cpp -std=c++03
This commit is contained in:
Sebastien Boisvert 2020-06-09 18:29:13 -04:00
parent 39cbd6578f
commit 6228f27234

View File

@ -355,6 +355,9 @@ class SparseLU : public SparseSolverBase<SparseLU<_MatrixType,_OrderingType> >,
return (m_detPermR * m_detPermC) > 0 ? det : -det;
}
Index nnzL() const { return m_nnzL; };
Index nnzU() const { return m_nnzU; };
protected:
// Functions
void initperfvalues()