Skip to content

Commit 7509eeb

Browse files
authored
Mark more things inactive for Enzyme (#635)
* Mark more things inactive for Enzyme * Remove duplicate
1 parent 1ce25ec commit 7509eeb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ext/TensorKitEnzymeExt/utility.jl‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ function EnzymeRules.forward(
138138
end
139139
end
140140

141+
@inline EnzymeRules.inactive(::typeof(TensorKit.recouplingmatrix), ::Any...) = nothing
141142
@inline EnzymeRules.inactive(::typeof(TensorKit.planar_trace), ::TensorKit.FusionTreePair, ::TensorKit.Index2Tuple, ::TensorKit.Index2Tuple) = nothing
142143
@inline EnzymeRules.inactive(::typeof(TensorKit.fusiontrees), ::Any) = nothing
143144
@inline EnzymeRules.inactive(::typeof(TensorKit.fusiontrees), ::Any, ::Any) = nothing

0 commit comments

Comments
 (0)