This PR restores the standard behaviour of the reversed() iterator for Lattice objects: the behaviour introduced in #573 could be confusing, since it was iterating on copies of the elements instead of element themselves.
As a consequence, the only way to build reversed lattices by swapping entrance and exit faces is to use the Lattice.reversed() method.
This PR restores the standard behaviour of the
reversed()
iterator forLattice
objects: the behaviour introduced in #573 could be confusing, since it was iterating on copies of the elements instead of element themselves.As a consequence, the only way to build reversed lattices by swapping entrance and exit faces is to use the
Lattice.reversed()
method.