Skip to content
Permalink
Browse files

Fix raster quantile with float

Fixes #37449

(cherry picked from commit d49e140)
  • Loading branch information
elpaso authored and nyalldawson committed Jul 21, 2020
1 parent 73edd15 commit 7bc73e41ca349fbcabe24f095bf7e3f8e525339f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/raster/qgsrasterinterface.cpp
@@ -363,8 +363,8 @@ void QgsRasterInterface::initHistogram( QgsRasterHistogram &histogram,
}
else
{
// This is for not integer types:
myBinCount = std::min( 2000, histogram.width * histogram.height );
// This is for not integer types where we cannot limit the bin size
myBinCount = histogram.width * histogram.height;
}
}
}

0 comments on commit 7bc73e4

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