Skip to content

Commit ddff890

Browse files
committed
remove unnecessary brackets
1 parent c3644f5 commit ddff890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zygote.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function ChainRulesCore.rrule(::Type{<:ArrayPartition}, x::S, ::Type{Val{copy_x}
1919
function ArrayPartition_adjoint(_y)
2020
y = Array(_y)
2121
starts = vcat(0,cumsum(reduce(vcat,length.(x))))
22-
NoTangent(), (ntuple(i -> reshape(y[starts[i]+1:starts[i+1]], size(x[i])), length(x))), NoTangent()
22+
NoTangent(), ntuple(i -> reshape(y[starts[i]+1:starts[i+1]], size(x[i])), length(x)), NoTangent()
2323
end
2424

2525
ArrayPartition(x, Val{copy_x}), ArrayPartition_adjoint

0 commit comments

Comments
 (0)