correct answer substitution order, equating variables to themselves (#326)
This commit is contained in:
@@ -631,7 +631,7 @@ impl MachineState {
|
||||
|
||||
let mut list_of_var_eqs = vec![];
|
||||
|
||||
for (var, binding) in term_write_result.var_dict.into_iter().rev() {
|
||||
for (var, binding) in term_write_result.var_dict.into_iter() {
|
||||
let var_atom = clause_name!(var.to_string(), indices.atom_tbl);
|
||||
|
||||
let h = self.heap.h();
|
||||
|
||||
Reference in New Issue
Block a user