Skip to content

Commit

Permalink
overzealous type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jumerckx committed Sep 8, 2024
1 parent f91812d commit d4c4c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EGraphs/extract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function extract_expr_recursive(g::EGraph{T, A}, n::VecExpr, get_node::Function)
h = get_constant(g, v_head(n))
v_isexpr(n) || return h
children = map(c -> extract_expr_recursive(g, c, get_node), get_node.(v_children(n)))
md = metadata(g[lookup(g, n)].data::A)
md = metadata(g[lookup(g, n)].data)
maketerm(T, h, children, md)
end

Expand Down

0 comments on commit d4c4c25

Please sign in to comment.