mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #86 : use internal:: namespace instead of ei_ prefix
This commit is contained in:
@@ -44,11 +44,11 @@ void fillMatrix(float density, int rows, int cols, EigenSparseTriMatrix& dst)
|
||||
{
|
||||
for(int i = 0; i < j; i++)
|
||||
{
|
||||
Scalar v = (ei_random<float>(0,1) < density) ? ei_random<Scalar>() : 0;
|
||||
Scalar v = (internal::random<float>(0,1) < density) ? internal::random<Scalar>() : 0;
|
||||
if (v!=0)
|
||||
dst.fill(i,j) = v;
|
||||
}
|
||||
dst.fill(j,j) = ei_random<Scalar>();
|
||||
dst.fill(j,j) = internal::random<Scalar>();
|
||||
}
|
||||
dst.endFill();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user