Skip to content

Commit

Permalink
Merge pull request #279 from opesci/dse_fix
Browse files Browse the repository at this point in the history
Dse fix
  • Loading branch information
Michael Lange authored Jun 7, 2017
2 parents fd825ec + ce42877 commit f1550ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/dse/manipulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def common_subexprs_elimination(exprs, make, mode='default'):
# Apply repleacements
processed = [e.xreplace(mapper) for e in processed]
mapped = [e.xreplace(mapper) for e in mapped]
mapped = [Eq(v, k) for k, v in reversed(mapper.items())] + mapped
mapped = [Eq(v, k) for k, v in reversed(list(mapper.items()))] + mapped

# Prepare for the next round
for k in picked:
Expand Down

0 comments on commit f1550ed

Please sign in to comment.