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