Skip to content

Commit

Permalink
fix: correct order of extrema variables in impose_minima function
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaniaguam committed Nov 4, 2024
1 parent ed41b8d commit f67913d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tilingutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f67913d

Please sign in to comment.