Skip to content

Commit

Permalink
Make AbstractSum accessible as ITensorMPS.AbstractSum
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed May 10, 2024
1 parent a0df73d commit 0b022fa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensorMPS"
uuid = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
authors = ["Matthew Fishman <[email protected]>", "Miles Stoudenmire <[email protected]>"]
version = "0.1.3"
version = "0.1.4"

[deps]
ITensorTDVP = "25707e16-a4db-4a07-99d9-4d67b7af0342"
Expand Down
5 changes: 3 additions & 2 deletions src/ITensorMPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ using Reexport: @reexport
@reexport using ITensorTDVP: TimeDependentSum, dmrg_x, linsolve, tdvp, to_vec
using ITensorTDVP: ITensorTDVP
const alternating_update_dmrg = ITensorTDVP.dmrg
# Not re-exported, but accessible as `ITensorMPS.sortmergeterms`.
using ITensors.ITensorMPS: sortmergeterms
# Not re-exported, but this makes these types and functions accessible
# as `ITensorMPS.x`.
using ITensors.ITensorMPS: AbstractMPS, sortmergeterms
@reexport using ITensors.ITensorMPS:
@OpName_str,
@SiteType_str,
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ using Test: @test, @test_broken, @testset
# ```
# ?
@test_broken ITensorMPS.sortmergeterms === ITensors.sortmergeterms
@test ITensorMPS.AbstractSum === ITensors.ITensorMPS.AbstractSum
end
end
end

0 comments on commit 0b022fa

Please sign in to comment.