Skip to content

Commit 09823cf

Browse files
committed
Fix type instability in TTCache
1 parent 4be3b5e commit 09823cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cachedtensortrain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ abstract type BatchEvaluator{V} <: AbstractTensorTrain{V} end
77
Cached evalulation of TT
88
"""
99
struct TTCache{ValueType} <: BatchEvaluator{ValueType}
10-
sitetensors::Vector{Array{ValueType}}
10+
sitetensors::Vector{Array{ValueType,3}}
1111
cacheleft::Vector{Dict{MultiIndex,Vector{ValueType}}}
1212
cacheright::Vector{Dict{MultiIndex,Vector{ValueType}}}
1313

0 commit comments

Comments
 (0)