Much more convenient, less over-engineered NumTraits. Done during this KDE-Edu weekend.

This commit is contained in:
Benoit Jacob
2007-12-02 18:32:59 +00:00
parent 2fdd067d9e
commit e05f29191e
10 changed files with 193 additions and 149 deletions

View File

@@ -53,7 +53,7 @@ template<typename MatrixType> class Random
{
EIGEN_UNUSED(row);
EIGEN_UNUSED(col);
return NumTraits<Scalar>::random();
return random<Scalar>();
}
protected: