add order preserving tidy_trail, fix random_labeling/2
This commit is contained in:
@@ -469,6 +469,12 @@ pub struct IndexStore {
|
||||
}
|
||||
|
||||
impl IndexStore {
|
||||
pub fn reset_global_variable_offsets(&mut self) {
|
||||
for (_, ref mut offset) in self.global_variables.values_mut() {
|
||||
*offset = None;
|
||||
}
|
||||
}
|
||||
|
||||
pub fn predicate_exists(
|
||||
&self,
|
||||
name: ClauseName,
|
||||
|
||||
Reference in New Issue
Block a user