Skip to content

Commit 4069406

Browse files
fix: correct return value
1 parent 78f1511 commit 4069406

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎map2loop/processing/algorithms/sampler.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def processAlgorithm(
142142
samples = sampler.sample(spatial_data)
143143

144144
samples = qgs
145-
return {self.OUTPUT: basal_contacts}
145+
return {self.OUTPUT: samples}
146146

147147
def createInstance(self) -> QgsProcessingAlgorithm:
148148
"""Create a new instance of the algorithm."""
149-
return self.__class__() # BasalContactsAlgorithm()
149+
return self.__class__() # SamplerAlgorithm()

0 commit comments

Comments
 (0)