Skip to content

Commit 7372fa9

Browse files
authored
Fixed issue of treating input symbols as dict instead of list (#246)
1 parent 6210029 commit 7372fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utility/expression_utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def substitute_input_symbols(exprs, params):
413413
substitutions = [(original, subs.replace("lambda", "lamda")) for (original, subs) in substitutions]
414414

415415
# Since 'as' is a reserved keyword in python, we add a subsitution of 'as' to 'a*s' if 'as' is not a defined symbol
416-
if 'as' not in input_symbols.keys():
416+
if 'as' not in input_symbols:
417417
substitutions += [('as', 'a*s')]
418418

419419
substitutions = list(set(substitutions))

0 commit comments

Comments
 (0)