Skip to content
Permalink
Browse files

Fix raster quantile with float

Fixes #37449
  • Loading branch information
elpaso committed Jun 28, 2020
1 parent 94bea56 commit d49e140cf66468f9743fe2cb05b4f155898e37f8
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 d49e140

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