Skip to content

Commit d67737d

Browse files
return
Co-authored-by: Miha Zgubic <[email protected]>
1 parent 65df1b1 commit d67737d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rulesets/SparseArrays/sparsematrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function rrule(::typeof(Broadcast.broadcasted), T::Type{<:Number}, x::AbstractSp
5555
function broadcasted_cast_sparse(Δ)
5656
return NoTangent(), NoTangent(), proj(Δ)
5757
end
58-
T.(x), broadcasted_cast_sparse
58+
return T.(x), broadcasted_cast_sparse
5959
end
6060

6161

0 commit comments

Comments
 (0)