Skip to content

Commit

Permalink
Update fol.rs
Browse files Browse the repository at this point in the history
Need to call free_variables instead of just variables to incur recursion
  • Loading branch information
ZachJHansen committed Dec 19, 2023
1 parent 2a032a1 commit 471ff39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntax_tree/fol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ impl Formula {
quantification,
formula,
} => {
let mut vars = formula.variables();
let mut vars = formula.free_variables();
for var in &quantification.variables {
vars.remove(var);
}
Expand Down

0 comments on commit 471ff39

Please sign in to comment.