Skip to content

Commit bfbdfa6

Browse files
Gertianstevengj
andauthored
Update ext/SkewLinearAlgebraChainRulesCoreExt.jl
Co-authored-by: Steven G. Johnson <[email protected]>
1 parent f8a9fd8 commit bfbdfa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/SkewLinearAlgebraChainRulesCoreExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ function ChainRulesCore.rrule(::typeof(pfaffian), A::SkewHermitian)
2323
return Ω, pfaffian_pullback
2424
end
2525

26-
function ChainRulesCore.ProjectTo{<:SkewHermitian}(x::AbstractArray)
27-
return skewhermitian(x)
26+
function ChainRulesCore.ProjectTo{<:SkewHermitian}(A::AbstractArray)
27+
return skewhermitian(A)
2828
end
2929

3030
end

0 commit comments

Comments
 (0)