Skip to content

Commit

Permalink
eval ondemand circuits
Browse files Browse the repository at this point in the history
  • Loading branch information
orlarey committed Nov 9, 2023
1 parent f3ab6f5 commit b0f6956
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/evaluate/eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,9 @@ static Tree realeval(Tree exp, Tree visited, Tree localValEnv)
throw faustexception(error.str());
}

} else if (isBoxOndemand(exp, body)) {
return boxOndemand(eval(body, visited, localValEnv));

} else if (isBoxSlot(exp)) {
return exp;

Expand Down

0 comments on commit b0f6956

Please sign in to comment.