[passes] linearozation: avoir duplication of variables

This commit is contained in:
Arnaud DABY-SEESARAM 2022-12-16 14:16:00 +01:00
parent c37e819f1a
commit 57dd9c1aa4

View File

@ -257,7 +257,7 @@ let pass_linearization verbose debug main_fn =
List.fold_left
(fun (eqs, vars) eq ->
let es, vs = pre_aux_equation vars eq in
es @ eqs, ((fst vs) @ (fst vars), (snd vs) @ (snd vars)))
es @ eqs, vars)
([], node.n_local_vars)
new_equations
in