Skip to content
Permalink
Browse files

Fixing field name used for target field in ftools DistanceMatrix algo…

…rithm
  • Loading branch information
ccrook committed Aug 10, 2014
1 parent c3bd82a commit e9dac8edcc272ebf2fac6e5194a52d6fdd5ea1aa
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/ftools/PointDistance.py
@@ -113,7 +113,7 @@ def linearMatrix(self, inLayer, inField, targetLayer, targetField,
index = vector.spatialindex(targetLayer)

inIdx = inLayer.fieldNameIndex(inField)
outIdx = targetLayer.fieldNameIndex(inField)
outIdx = targetLayer.fieldNameIndex(targetField)

outFeat = QgsFeature()
inGeom = QgsGeometry()

0 comments on commit e9dac8e

Please sign in to comment.
You can’t perform that action at this time.