From e46a02c9ed9f1269ea5e2f90d93123b875dd1491 Mon Sep 17 00:00:00 2001 From: cpaniaguam Date: Tue, 12 Nov 2024 12:23:45 -0500 Subject: [PATCH] fix: morph_fill --- src/morph_fill.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/morph_fill.jl b/src/morph_fill.jl index 5403b803..0a4be428 100644 --- a/src/morph_fill.jl +++ b/src/morph_fill.jl @@ -1,11 +1,13 @@ include("./lut/lutfill.jl") +const LUTFILL = make_lutfill() + function _fill_operator_lut( I::CartesianIndex{2}, img::AbstractArray{Bool}, nhood::CartesianIndices{2,Tuple{UnitRange{Int64},UnitRange{Int64}}}, ) - return _operator_lut(I, img, nhood, make_lutfill()) + return _operator_lut(I, img, nhood, LUTFILL) end """