Skip to content
Permalink
Browse files

fix float64/float32 random value output

(cherry picked from commit 19c32a5)
  • Loading branch information
root676 authored and nyalldawson committed Nov 12, 2020
1 parent 48e0882 commit 48fa1194fc8915fef305dfd4560384a6ca956bba
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 48fa119

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