Skip to content

Commit 6137615

Browse files
authored
Merge pull request #10 from tensor4all/9-type-instability-in-ttcache
Fix type instability in TTCache
2 parents 4be3b5e + 09823cf commit 6137615

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)