Skip to content

Commit 4374fe3

Browse files
authored
Merge branch 'main' into Docs_update_URLs
2 parents 91b9deb + ec4991a commit 4374fe3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/index.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Create a copy of index `i` with identical `id`, `space`, `dir` and `tags`.
127127
copy(i::Index) = Index(id(i), copy(space(i)), dir(i), tags(i), plev(i))
128128

129129
"""
130-
sim(i::Index; tags = tags(i), plev = plev(i), dir = dir(i))
130+
sim(i::Index; tags = tags(i), plev = plev(i))
131131
132132
Produces an `Index` with the same properties (dimension or QN structure)
133133
but with a new `id`.

src/qn/qnindex.jl

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,11 @@ function QuantumNumbers.have_same_mods(qnblocks::QNBlocks)
114114
end
115115

116116
"""
117-
Index(qnblocks::Vector{Pair{QN, Int64}}; dir::Arrow = Out,
118-
tags = "",
119-
plev::Integer = 0)
117+
Index(qnblocks::Vector{Pair{QN, Int64}}; tags = "", plev::Integer = 0)
120118
121119
Construct a QN Index from a Vector of pairs of QN and block
122120
dimensions.
123121
124-
Note: in the future, this may enforce that all blocks have the
125-
same QNs (which would allow for some optimizations, for example
126-
when constructing random QN ITensors).
127-
128122
# Example
129123
130124
```

0 commit comments

Comments
 (0)