mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Much more convenient, less over-engineered NumTraits. Done during this KDE-Edu weekend.
This commit is contained in:
@@ -53,7 +53,7 @@ template<typename MatrixType> class Random
|
||||
{
|
||||
EIGEN_UNUSED(row);
|
||||
EIGEN_UNUSED(col);
|
||||
return NumTraits<Scalar>::random();
|
||||
return random<Scalar>();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user