Skip to content

Commit

Permalink
Merge pull request #1619 from anitagraser/patch-4
Browse files Browse the repository at this point in the history
[processing] fixed value used before assignment error
  • Loading branch information
alexbruy committed Oct 9, 2014
2 parents 174c2f3 + 4a639ad commit 0a4dae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py
Original file line number Diff line number Diff line change
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 0a4dae2

Please sign in to comment.