mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-25 00:05:03 -04:00
(typo)
This commit is contained in:
parent
65112f83e5
commit
cc275a93d0
@ -395,7 +395,7 @@ static QVariant fcnRndF( const QVariantList &values, const QgsExpressionContext
|
||||
generator.seed( seed );
|
||||
}
|
||||
|
||||
// Return a random integer in the range [min, max] (inclusive)
|
||||
// Return a random double in the range [min, max] (inclusive)
|
||||
double f = static_cast< double >( generator() ) / generator.max();
|
||||
return QVariant( min + f * ( max - min ) );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user