Skip to content

WIP: Fix Code Generation Errors

Alexandru Fikl requested to merge compiler-confusion into master

Therea are two failing test cases here for the compiler.

  1. test_operator_compiler_overwrite: the same expression (dx0/dr0) appears in both a user provided expression (eval_code) and the discretization metrics (discr_code) and the code generator gets confused and overwrites expr_to_name in OperatorCompiler (I think?).

  2. test_incorrect_assignment_aggregation: the greedy assignment aggregation code gets confused on the given expression. Not quite sure where it fails to track dependencies properly.

Edited by Alexandru Fikl

Merge request reports

Loading