Skip to content

Commit b717c2b

Browse files
committed
format
1 parent 40fd8dc commit b717c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rulesets/Base/arraymath.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function rrule(::typeof(-), x::AbstractArray, y::AbstractArray)
445445
yproj = ProjectTo(y)
446446
function subtract_pullback(dy_raw)
447447
dy = unthunk(dy_raw) # projs will otherwise unthunk twice
448-
(NoTangent(), xproj(dy), yproj(-dy))
448+
return (NoTangent(), xproj(dy), yproj(-dy))
449449
end
450450
return x - y, subtract_pullback
451451
end

0 commit comments

Comments
 (0)