Skip to content

Commit

Permalink
fix float64/float32 random value output
Browse files Browse the repository at this point in the history
(cherry picked from commit 19c32a5)
  • Loading branch information
root676 authored and nyalldawson committed Nov 12, 2020
1 parent 48e0882 commit 48fa119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmrandomraster.cpp
Expand Up @@ -356,7 +356,7 @@ long QgsRandomUniformRasterAlgorithm::generateRandomLongValue( std::mt19937 &mer

double QgsRandomUniformRasterAlgorithm::generateRandomDoubleValue( std::mt19937 &mersenneTwister )
{
return mRandomUniformIntDistribution( mersenneTwister );
return mRandomUniformDoubleDistribution( mersenneTwister );
}

//
Expand Down

0 comments on commit 48fa119

Please sign in to comment.