Skip to content

Commit b8ac8b0

Browse files
style
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent dc5006c commit b8ac8b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rulesets/LinearAlgebra/norm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function rrule(::typeof(norm), x::Number, p::Real)
105105
function norm_pullback(ȳ)
106106
Δy = unthunk(ȳ)
107107
∂x = if iszero(Δy) || iszero(p)
108-
zero(x) * zero(real(Δy))
108+
zero(x) * zero(real(Δy))
109109
else
110110
signx = x isa Real ? sign(x) : x * pinv(y)
111111
signx * real(Δy)

0 commit comments

Comments
 (0)