mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00
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:
parent
39cbd6578f
commit
6228f27234
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user