From 8d05586cb16dfa91d0c8d350191c8cf9118a798f Mon Sep 17 00:00:00 2001 From: Tor Erlend Fjelde Date: Tue, 14 Nov 2023 10:59:09 +0000 Subject: [PATCH] formatting --- src/varnamevector.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/varnamevector.jl b/src/varnamevector.jl index 5f5233ecb..93272a063 100644 --- a/src/varnamevector.jl +++ b/src/varnamevector.jl @@ -219,7 +219,8 @@ function nextrange(vnv::VarNameVector, x) # NOTE: We could of course attempt to make use of unused space, e.g. if we have an inactive # range which can hold `x`, then we could just use that. Buuut the complexity of this is # probably not worth it (at least at the moment). - max_inactive_range = isempty(vnv.inactive_ranges) ? 0 : maximum(last, vnv.inactive_ranges) + max_inactive_range = + isempty(vnv.inactive_ranges) ? 0 : maximum(last, vnv.inactive_ranges) offset = max(max_active_range, max_inactive_range) return (offset + 1):(offset + length(x)) end