Skip to content

Commit

Permalink
Fix raster quantile with float
Browse files Browse the repository at this point in the history
Fixes #37449
  • Loading branch information
elpaso committed Jun 28, 2020
1 parent 94bea56 commit d49e140
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 d49e140

Please sign in to comment.