Skip to content

Commit cf4e230

Browse files
committed
fold kernel 1.6 compat
1 parent e35dffc commit cf4e230

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
@@ -37,7 +37,7 @@ function fold_kernel!(x::AbstractArray{T}, col, col_size, input_size, output_siz
3737
w, h, d = @. ((w, h, d) - 1)*stride - pad_lo + 1 + ((kw, kh, kd) - 1)*dilation
3838

3939
# check out of bounds
40-
if any((w, h, d) .<= 0 .|| (w, h, d) .> input_size)
40+
if any((w, h, d) .<= 0 .| (w, h, d) .> input_size)
4141
return nothing
4242
end
4343

0 commit comments

Comments
 (0)