diff --git a/src/tilingutils.jl b/src/tilingutils.jl index 7eeab9a0..0f902461 100644 --- a/src/tilingutils.jl +++ b/src/tilingutils.jl @@ -494,7 +494,7 @@ function impose_minima( I::AbstractArray{T}, BW::AbstractMatrix{Bool} ) where {T<:AbstractFloat} # compute shift - b, a = extrema(I) + a, b = extrema(I) rng = b - a h = rng == 0 ? 0.1 : rng / 1000