Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensorNetworksNext"
uuid = "302f2e75-49f0-4526-aef7-d8ba550cb06c"
authors = ["ITensor developers <[email protected]> and contributors"]
version = "0.2.1"
version = "0.2.2"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
1 change: 1 addition & 0 deletions src/LazyNamedDimsArrays/symbolicarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Base.size(a::SymbolicArray) = length.(axes(a))
function Base.:(==)(a::SymbolicArray, b::SymbolicArray)
return symname(a) == symname(b) && axes(a) == axes(b)
end
Base.isequal(a::SymbolicArray, b::SymbolicArray) = a == b
function Base.hash(a::SymbolicArray, h::UInt64)
h = hash(:SymbolicArray, h)
h = hash(symname(a), h)
Expand Down
1 change: 1 addition & 0 deletions test/test_lazynameddimsarrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ using WrappedUnions: unwrap
@test dename(a1) isa SymbolicArray
@test dename(unwrap(a1)) isa SymbolicArray
@test dename(unwrap(a1)) == SymbolicArray(:a1, ())
@test isequal(dename(unwrap(a1)), SymbolicArray(:a1, ()))
@test inds(a1) == ()
@test dimnames(a1) == ()

Expand Down
Loading