From c9b400c20dc9c420d23aca20c0eb4aef773b08d9 Mon Sep 17 00:00:00 2001 From: Wei Tang Date: Mon, 10 Jun 2024 17:00:32 +0200 Subject: [PATCH] @non_differentiable TensorKit.id --- ext/TensorKitChainRulesCoreExt.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/TensorKitChainRulesCoreExt.jl b/ext/TensorKitChainRulesCoreExt.jl index 5d7881f9..514d4749 100644 --- a/ext/TensorKitChainRulesCoreExt.jl +++ b/ext/TensorKitChainRulesCoreExt.jl @@ -42,6 +42,7 @@ TensorKit.block(t::ZeroTangent, c::Sector) = t # ------------ @non_differentiable TensorKit.TensorMap(f::Function, storagetype, cod, dom) +@non_differentiable TensorKit.id(args...) @non_differentiable TensorKit.isomorphism(args...) @non_differentiable TensorKit.isometry(args...) @non_differentiable TensorKit.unitary(args...)