Skip to content

Commit

Permalink
[sextante] fix Distance Matrix tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Apr 16, 2013
1 parent 26582a2 commit d06ab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/sextante/algs/ftools/PointDistance.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def regularMatrix(self, inLayer, inField, targetLayer, targetField, nPoints, pro
first = True
current = 0
features = QGisLayers.features(inLayer)
total = 100.0 / float(features)
total = 100.0 / float(len(features))

for inFeat in features:
inGeom = inFeat.geometry()
Expand Down

0 comments on commit d06ab3c

Please sign in to comment.