Skip to content

Commit

Permalink
Copy fix for id \in W
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Aug 20, 2024
1 parent 50c7982 commit 9774f8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions experimental/LieAlgebras/src/WeylGroup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ function Base.iterate(iter::ReducedExpressionIterator)
end

function Base.iterate(iter::ReducedExpressionIterator, word::Vector{UInt8})
isempty(word) && return nothing

rk = rank(root_system(parent(iter.el)))

# we need to copy word; iterate behaves differently when length is (not) known
Expand Down

0 comments on commit 9774f8f

Please sign in to comment.