Skip to content

Commit 691921e

Browse files
Add return keyword
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8f01fc4 commit 691921e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chainrules.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function ChainRulesCore.rrule(
209209
x̄[:, i] += ds
210210
ȳ[:, i] -= ds
211211
end
212-
NoTangent(), (r=r̄,), @thunk(project_x(x̄)), @thunk(project_y(ȳ))
212+
return NoTangent(), (r=r̄,), @thunk(project_x(x̄)), @thunk(project_y(ȳ))
213213
end
214214
return Distances.colwise(d, x, y), colwise_pullback
215215
end

0 commit comments

Comments
 (0)