Skip to content

Commit

Permalink
Fix raster quantile with float
Browse files Browse the repository at this point in the history
Fixes #37449

(cherry picked from commit d49e140)
  • Loading branch information
elpaso authored and nyalldawson committed Jul 21, 2020
1 parent 73edd15 commit 7bc73e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/raster/qgsrasterinterface.cpp
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit 7bc73e4

Please sign in to comment.