Skip to content

Commit

Permalink
fix undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
a committed Oct 22, 2023
1 parent 50df8e8 commit ef978aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EGraphs/saturation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Instantiate argument for dynamic rule application in e-graph
"""
function instantiate_actual_param!(bindings::Bindings, g::EGraph, i)
ecid, literal_position = bindings[i]
ecid <= 0 && error("unbound pattern variable $pat in rule $rule")
ecid <= 0 && error("unbound pattern variable")
eclass = g[ecid]
if literal_position > 0
@assert eclass[literal_position] isa ENodeLiteral
Expand Down

0 comments on commit ef978aa

Please sign in to comment.