Skip to content

Commit ec4991a

Browse files
authored
[Docs] Remove dir kwarg from Index docstrings (#1630)
1 parent 23bbc41 commit ec4991a

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensors"
22
uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5"
33
authors = ["Matthew Fishman <[email protected]>", "Miles Stoudenmire <[email protected]>"]
4-
version = "0.8.3"
4+
version = "0.8.4"
55

66
[deps]
77
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

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)