mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add unit tests for sparse LU and fix a couple of warnings
This commit is contained in:
@@ -124,7 +124,7 @@ void AmbiVector<Scalar>::nonZeros() const
|
||||
template<typename Scalar>
|
||||
void AmbiVector<Scalar>::init(RealScalar estimatedDensity)
|
||||
{
|
||||
if (m_mode = estimatedDensity>0.1)
|
||||
if (estimatedDensity>0.1)
|
||||
init(IsDense);
|
||||
else
|
||||
init(IsSparse);
|
||||
|
||||
Reference in New Issue
Block a user