mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Repair the 'explain' plugin
This commit is contained in:
parent
db508a006a
commit
8b3d7fb64b
@ -794,7 +794,7 @@ let reverse_graph g =
|
||||
let subst_by v1 e2 e =
|
||||
let rec f = function
|
||||
| EVar v, m when Var.equal v v1 -> Expr.box e2
|
||||
| e -> Expr.map ~f e
|
||||
| e -> Expr.map ~f ~op:Fun.id e
|
||||
in
|
||||
Expr.unbox (f e)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user