Skip to content

Commit

Permalink
[processing] fix Modeler Calculator (ref #14305)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 16, 2016
1 parent 2bd7f44 commit 1ffccf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def defineCharacteristics(self):
self.tr('Formula', 'CalculatorModelerAlgorithm'), ''))
for i in range(AVAILABLE_VARIABLES):
self.addParameter(ParameterNumber(NUMBER
+ unicode(i), 'dummy'))
+ unicode(i), 'dummy', optional=True))
self.addOutput(OutputNumber(RESULT,
self.tr('Result', 'CalculatorModelerAlgorithm')))

Expand Down

0 comments on commit 1ffccf0

Please sign in to comment.