Skip to content

Commit 14c1d28

Browse files
authored
Bump to BlockSparseArrays v0.6 (#75)
1 parent fc0f756 commit 14c1d28

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensorBase"
22
uuid = "4795dd04-0d67-49bb-8f44-b89c448a1dc7"
33
authors = ["ITensor developers <support@itensor.org> and contributors"]
4-
version = "0.2.5"
4+
version = "0.2.6"
55

66
[deps]
77
Accessors = "7d9f7c33-5ae7-4f3b-8dc6-eff91059b697"

src/quirks.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ function translate_factorize_kwargs(;
3939
orth = Symbol(@something orth ortho :left)
4040
rtol = @something rtol cutoff Some(nothing)
4141
maxrank = @something maxrank maxdim Some(nothing)
42+
trunc = (; rtol, maxrank)
4243
# !isnothing(maxrank) && error("`maxrank` not supported yet.")
43-
return filter_namedtuple(!isnothing, (; orth, rtol, maxrank, kwargs...))
44+
return filter_namedtuple(!isnothing, (; orth, trunc, kwargs...))
4445
end
4546

4647
using TensorAlgebra: TensorAlgebra, factorize

test/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1616
[compat]
1717
Aqua = "0.8.9"
1818
BlockArrays = "1"
19-
BlockSparseArrays = "0.5"
19+
BlockSparseArrays = "0.6"
2020
DiagonalArrays = "0.3"
2121
GradedArrays = "0.4"
2222
ITensorBase = "0.2"

0 commit comments

Comments
 (0)