Skip to content

Commit 7a187c4

Browse files
authored
Make ChainRules ext consistent with Mooncake and Enzyme (#535)
`degeneracystructure` is marked the equivalent of non-diffable in those extensions
1 parent f3f660c commit 7a187c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ext/TensorKitChainRulesCoreExt/utility.jl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ function (::ProjectTo{DiagonalTensorMap{T, S, A}})(x::AbstractTensorMap) where {
2424
end
2525
return y
2626
end
27+
28+
@non_differentiable TensorKit.degeneracystructure(::Any)

0 commit comments

Comments
 (0)