Show More
@@ -185,7 +185,7 b' def paritygen(stripecount, offset=0):' | |||||
185 | if stripecount and offset: |
|
185 | if stripecount and offset: | |
186 | # account for offset, e.g. due to building the list in reverse |
|
186 | # account for offset, e.g. due to building the list in reverse | |
187 | count = (stripecount + offset) % stripecount |
|
187 | count = (stripecount + offset) % stripecount | |
188 | parity = (stripecount + offset) / stripecount & 1 |
|
188 | parity = (stripecount + offset) // stripecount & 1 | |
189 | else: |
|
189 | else: | |
190 | count = 0 |
|
190 | count = 0 | |
191 | parity = 0 |
|
191 | parity = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now