Skip to content

Commit 7727080

Browse files
committed
Preserve memory type
1 parent 73fc774 commit 7727080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/TensorKitCUDAExt/TensorKitCUDAExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ using Random
1919
include("cutensormap.jl")
2020
include("truncation.jl")
2121

22-
TensorKit.similarmatrixtype(::Type{A}) where {T <: Number, A <: CuVector{T}} = CuMatrix{T}
22+
TensorKit.similarmatrixtype(::Type{A}) where {T <: Number, M, A <: CuVector{T, M}} = CuMatrix{T, M}
2323

2424
end

0 commit comments

Comments
 (0)