Skip to content

Commit f5857b3

Browse files
committed
More small updates
1 parent 80712cb commit f5857b3

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Printf = "1"
5353
Random = "1"
5454
SafeTestsets = "0.1"
5555
ScopedValues = "1.3.0"
56-
Strided = "2.3.3"
56+
Strided = "2.3.4"
5757
TensorKitSectors = "0.3.5"
5858
TensorOperations = "5.1"
5959
Test = "1"

src/auxiliary/auxiliary.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ function _interleave(a::NTuple{N}, b::NTuple{N}) where {N}
5757
return (a[1], b[1], _interleave(tail(a), tail(b))...)
5858
end
5959

60-
_copyto!(A, B) = copyto!(A, B)
60+
_copyto!(A, B) = copy!(A, B)
6161

6262
# Low-overhead implementation of `copyto!` for specific case of `stride(B, 1) < stride(B, 2)`
6363
# for CPU-hosted Arrays # used in indexmanipulations: avoids the overhead of Strided.jl
64-
function _copyto!(A::StridedView{TA, 1, AA}, B::StridedView{TB, 2, BB}) where {TA <: Number, TB <: Number, AA <: DenseArray{TA}, BB <: DenseArray{TB}}
64+
function _copyto!(A::StridedView{TA, 1, AA}, B::StridedView{TB, 2, BB}) where {TA <: Number, TB <: Number, AA <: Memory{TA}, BB <: Memory{TB}}
6565
length(A) == length(B) || throw(DimensionMismatch(lazy"length of A ($(length(A))) does not match length of B ($(length(B))"))
6666

6767
Adata = parent(A)

src/tensors/treetransformers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function AbelianTreeTransformer(transform, p, Vdst, Vsrc)
4646
end
4747

4848
const _GenericTransformerData{T, N} = Tuple{
49-
DenseMatrix{T},
49+
Matrix{T},
5050
Tuple{NTuple{N, Int}, Vector{Tuple{NTuple{N, Int}, Int}}},
5151
Tuple{NTuple{N, Int}, Vector{Tuple{NTuple{N, Int}, Int}}},
5252
}

0 commit comments

Comments
 (0)