further allocation fixes.

This commit is contained in:
Mark Thom
2018-03-08 12:51:06 -07:00
parent cb9aafbccf
commit f8389e889e
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ impl DebrayAllocator {
}
fn is_in_use(&self, r: usize) -> bool {
let in_use_range = r < self.arity && r > self.arg_c;
let in_use_range = r < self.arity && r >= self.arg_c;
self.in_use.contains(&r) || in_use_range
}