Skip to content

Commit 4a18bbe

Browse files
kshyattlkdvos
authored andcommitted
Update ext/TensorKitAMDGPUExt/roctensormap.jl
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
1 parent bf546ed commit 4a18bbe

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

ext/TensorKitAMDGPUExt/roctensormap.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,6 @@ function LinearAlgebra.isposdef(t::ROCTensorMap)
124124
return true
125125
end
126126

127-
function Base.promote_rule(
128-
::Type{<:TT₁},
129-
::Type{<:TT₂}
130-
) where {
131-
S, N₁, N₂, TTT₁, TTT₂,
132-
TT₁ <: ROCTensorMap{TTT₁, S, N₁, N₂},
133-
TT₂ <: ROCTensorMap{TTT₂, S, N₁, N₂},
134-
}
135-
T = TensorKit.VectorInterface.promote_add(TTT₁, TTT₂)
136-
return ROCTensorMap{T, S, N₁, N₂}
137-
end
138127

139128
# ROCTensorMap exponentation:
140129
function TensorKit.exp!(t::ROCTensorMap)

0 commit comments

Comments
 (0)