Skip to content

Commit

Permalink
Don't perform substitution into free graphes
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Jan 3, 2024
1 parent 7a384ea commit 7c910bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/structures/modelMap.ml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ let subst id e { values; suspicious } =
(fun graph ->
match graph with
| C constraints -> C (Constraints.map (subst_in_term id e) constraints)
| Free a -> Free (subst_in_term id e a)
| Free _ -> graph
) values in
{ values; suspicious }

Expand Down

0 comments on commit 7c910bf

Please sign in to comment.