Skip to content

Commit e35dffc

Browse files
nikopjToucheSir
andauthored
Update src/fold.jl for 1.6 compat
Co-authored-by: Brian Chen <[email protected]>
1 parent 478d625 commit e35dffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/NNlibCUDA/src/fold.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function unfold_kernel!(col::AbstractArray{T}, x, col_size, input_size, output_s
1414
end
1515

1616
# check out of bounds
17-
if any((w, h, d) .<= 0 .|| (w, h, d) .> input_size)
17+
if any((w, h, d) .<= 0 .| (w, h, d) .> input_size)
1818
col[i, kw, kh, kd, c, b] = T(0)
1919
return nothing
2020
end

0 commit comments

Comments
 (0)