Skip to content
Permalink
Browse files

fix float64/float32 random value output

  • Loading branch information
root676 committed Nov 6, 2020
1 parent 610703c commit 19c32a5b730dbad59acd9d3ad27a4ca38aca1b07
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/processing/qgsalgorithmrandomraster.cpp
@@ -356,7 +356,7 @@ long QgsRandomUniformRasterAlgorithm::generateRandomLongValue( std::mt19937 &mer

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

//

0 comments on commit 19c32a5

Please sign in to comment.
You can’t perform that action at this time.