We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 302c09b commit 32165d2Copy full SHA for 32165d2
src/projective/crop.jl
@@ -122,7 +122,7 @@ function offsetcropbounds(
122
mins = getindex.(indices, 1)
123
diffs = length.(indices) .- sz
124
125
- startindices = floor.(Int, mins .+ (diffs .* offsets))
+ startindices = round.(Int, mins .+ (diffs .* offsets))
126
endindices = startindices .+ sz .- 1
127
128
bs = Bounds(UnitRange.(startindices, endindices))
0 commit comments