Skip to content

Commit

Permalink
Merge pull request #10 from tensor4all/9-type-instability-in-ttcache
Browse files Browse the repository at this point in the history
Fix type instability in TTCache
  • Loading branch information
shinaoka authored May 24, 2024
2 parents 4be3b5e + 09823cf commit 6137615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cachedtensortrain.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ abstract type BatchEvaluator{V} <: AbstractTensorTrain{V} end
Cached evalulation of TT
"""
struct TTCache{ValueType} <: BatchEvaluator{ValueType}
sitetensors::Vector{Array{ValueType}}
sitetensors::Vector{Array{ValueType,3}}
cacheleft::Vector{Dict{MultiIndex,Vector{ValueType}}}
cacheright::Vector{Dict{MultiIndex,Vector{ValueType}}}

Expand Down

0 comments on commit 6137615

Please sign in to comment.