From 2bdf95e62dd8cb5346cedf9992b88d96a6565a29 Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Thu, 8 Mar 2018 22:54:36 -0700 Subject: [PATCH] further debray fix. --- src/prolog/debray_allocator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prolog/debray_allocator.rs b/src/prolog/debray_allocator.rs index 05892d8c..b53a5878 100644 --- a/src/prolog/debray_allocator.rs +++ b/src/prolog/debray_allocator.rs @@ -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 } -- 2.54.0