Skip to content

Commit 3be7edc

Browse files
committed
fix variable orders
1 parent f47a6f4 commit 3be7edc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nemo/src/execution/planning/analysis/variable_order.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ impl VariableOrder {
145145
VariableIter: Iterator<Item = &'a Variable>,
146146
{
147147
for variable in variables {
148-
self.push(variable.clone());
148+
if !self.contains(variable) {
149+
self.push(variable.clone());
150+
}
149151
}
150152
}
151153
}
@@ -986,7 +988,7 @@ mod test {
986988
ImportInstruction::new(predicate, handler)
987989
}
988990

989-
#[ignore]
991+
// #[ignore]
990992
#[test]
991993
#[cfg_attr(miri, ignore)]
992994
fn build_preferable_variable_orders_with_galen_el_part_ie_5_rules_without_constant() {

0 commit comments

Comments
 (0)