Skip to content

Commit 6790f37

Browse files
committed
Another fix and no sources needed
1 parent ee113fa commit 6790f37

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,3 @@ cuTENSOR = "011b41b2-24ef-40a8-b3eb-fa098493e9e1"
7676

7777
[targets]
7878
test = ["Aqua", "Adapt", "CUDA", "cuTENSOR", "Pkg", "Test", "TestExtras", "Plots", "Combinatorics", "ParallelTestRunner", "TensorKitTensors"]
79-
80-
[sources]
81-
TensorKit = {url="https://github.com/QuantumKitHub/TensorKit.jl", rev="ksh/cuda_tweaks"}

src/operators/abstractmpo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function fuse_mul_mpo(O1, O2)
157157
return _fuse_mpo_mpo(O1, O2, F_left, F_right)
158158
end
159159
function fuse_mul_mpo(O1::BraidingTensor, O2::BraidingTensor)
160-
T = TensorKit.promote_storagetype(storagetype(O1), storagetype(O2))
160+
T = promote_type(scalartype(O1), scalartype(O2))
161161
V = fuse(left_virtualspace(O2) left_virtualspace(O1)) physicalspace(O1)
162162
physicalspace(O2) fuse(right_virtualspace(O2) right_virtualspace(O1))
163163
return BraidingTensor{T}(V)

0 commit comments

Comments
 (0)