Skip to content
Snippets Groups Projects
Commit 98acb053 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge pull request #21 from dokempf/master

[bugfix] The var_subst_map is a member of codegen_state not of the ecm
parents 79ac3681 6c92f17c
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ def generate_c_instruction_code(kernel, insn, codegen_state):
from pymbolic.primitives import Variable
for name, iname_expr in insn.iname_exprs:
if (isinstance(iname_expr, Variable)
and name not in ecm.var_subst_map):
and name not in codegen_state.var_subst_map):
# No need, the bare symbol will work
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment