mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Fix incorrect comment
bit-reversal permutation is not idempotent
This commit is contained in:
parent
6c2b46ae32
commit
9ac605cc5e
@ -103,7 +103,7 @@ def reverse_bits(n: int, order: int) -> int:
|
|||||||
```python
|
```python
|
||||||
def bit_reversal_permutation(l: Sequence[T]) -> Sequence[T]:
|
def bit_reversal_permutation(l: Sequence[T]) -> Sequence[T]:
|
||||||
"""
|
"""
|
||||||
Return a copy with bit-reversed permutation. This operation is idempotent.
|
Return a copy with bit-reversed permutation. The permutation is an involution (inverts itself).
|
||||||
|
|
||||||
The input and output are a sequence of generic type ``T`` objects.
|
The input and output are a sequence of generic type ``T`` objects.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user