Skip to content
Snippets Groups Projects
Commit 0bd19a92 authored by THIRIOUX Xavier's avatar THIRIOUX Xavier
Browse files

bug wrt normalization. Didn't take clock into account.

parent 885b2896
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ let unfold_arrow expr =
(* Get the equation in [defs] with [expr] as rhs, if any *)
let get_expr_alias defs expr =
try Some (List.find (fun eq -> is_eq_expr eq.eq_rhs expr) defs)
try Some (List.find (fun eq -> Clocks.eq_clock expr.expr_clock eq.eq_rhs.expr_clock && is_eq_expr eq.eq_rhs expr) defs)
with
| Not_found -> None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment