Skip to content

Commit

Permalink
fixed value used before assignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
anitagraser committed Oct 9, 2014
1 parent 7a389f6 commit 4a639ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py
Expand Up @@ -116,8 +116,8 @@ def processAlgorithm(self, progress):
if value > maxValue:
maxValue = value

values.append(value)
sumValue += value
values.append(value)
sumValue += value

current += 1
progress.setPercentage(int(current * total))
Expand Down

0 comments on commit 4a639ad

Please sign in to comment.