mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
compilation fix in AmbiVector<int>
This commit is contained in:
parent
aacada1662
commit
9005eb0788
@ -41,7 +41,7 @@ template<typename _Scalar> class AmbiVector
|
|||||||
resize(size);
|
resize(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
void init(RealScalar estimatedDensity);
|
void init(double estimatedDensity);
|
||||||
void init(int mode);
|
void init(int mode);
|
||||||
|
|
||||||
int nonZeros() const;
|
int nonZeros() const;
|
||||||
@ -143,7 +143,7 @@ int AmbiVector<Scalar>::nonZeros() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename Scalar>
|
template<typename Scalar>
|
||||||
void AmbiVector<Scalar>::init(RealScalar estimatedDensity)
|
void AmbiVector<Scalar>::init(double estimatedDensity)
|
||||||
{
|
{
|
||||||
if (estimatedDensity>0.1)
|
if (estimatedDensity>0.1)
|
||||||
init(IsDense);
|
init(IsDense);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user