dfdx / Espresso.jl

Expression transformation package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evaluate expressions inside of a new module

dfdx opened this issue · comments

During ExGraph evaluation we accidentally create/overwrite variables with the same names as in the graph. One way to overcome it is to perform evaluation in a separate, generated module, but it's important to import all names from the current module into that generated one.

Fixed by using let instead.