We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e097d6e commit 8a47b5cCopy full SHA for 8a47b5c
src/analysis/vector/qgszonalstatistics.h
@@ -67,7 +67,7 @@ class ANALYSIS_EXPORT QgsZonalStatistics
67
{
68
reset();
69
}
70
- void reset() { sum = 0; count = 0; max = FLT_MIN; min = FLT_MAX; valueCount.clear(); values.clear(); }
+ void reset() { sum = 0; count = 0; max = -FLT_MAX; min = FLT_MAX; valueCount.clear(); values.clear(); }
71
void addValue( float value, double weight = 1.0 )
72
73
if ( weight < 1.0 )
0 commit comments