check not empty instead of len > 0
This commit is contained in:
committed by
Bennet Bleßmann
parent
fae5e13bd5
commit
73cc872b50
@@ -251,7 +251,7 @@ impl DebrayAllocator {
|
||||
}
|
||||
}
|
||||
|
||||
if self.branch_stack.len() > 0 {
|
||||
if !self.branch_stack.is_empty() {
|
||||
for var_num in subsumed_hits {
|
||||
self.branch_stack.add_branch_occurrence(var_num);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user