Skip to content

Commit

Permalink
(typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierdalang committed Dec 13, 2019
1 parent 65112f8 commit cc275a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -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 ) );
}
Expand Down

0 comments on commit cc275a9

Please sign in to comment.