Skip to content

Commit

Permalink
Correcting renaming. Uniform holes can also be simplified to rule nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Whebon committed Apr 25, 2024
1 parent f8ce924 commit 3fd7978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/generic_solver/treemanipulations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function simplify_hole!(solver::GenericSolver, path::Vector{Int})
for i 1:length(new_node.children)
# try to simplify the new children
child_path = push!(copy(path), i)
if (new_node.children[i] isa Hole)
if (new_node.children[i] isa AbstractHole)
simplify_hole!(solver, child_path)
end
end
Expand Down

0 comments on commit 3fd7978

Please sign in to comment.