diff options
author | 2009-08-31 09:32:46 +0200 | |
---|---|---|
committer | 2009-08-31 09:32:46 +0200 | |
commit | 9005eb07884ff850b8801cfcb78d3533bace4342 (patch) | |
tree | 52a573aed03fee7f1884b7a714eece8c8bb1dbd6 | |
parent | aacada166263dd8022643d5c224b796701eba2c4 (diff) |
compilation fix in AmbiVector<int>
-rw-r--r-- | Eigen/src/Sparse/AmbiVector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/AmbiVector.h b/Eigen/src/Sparse/AmbiVector.h index 974e5c6c4..474626848 100644 --- a/Eigen/src/Sparse/AmbiVector.h +++ b/Eigen/src/Sparse/AmbiVector.h @@ -41,7 +41,7 @@ template<typename _Scalar> class AmbiVector resize(size); } - void init(RealScalar estimatedDensity); + void init(double estimatedDensity); void init(int mode); int nonZeros() const; @@ -143,7 +143,7 @@ int AmbiVector<Scalar>::nonZeros() const } template<typename Scalar> -void AmbiVector<Scalar>::init(RealScalar estimatedDensity) +void AmbiVector<Scalar>::init(double estimatedDensity) { if (estimatedDensity>0.1) init(IsDense); |