[TupleVariation] Minor
This commit is contained in:
parent
d5d771b2bf
commit
4cbf6ae1c4
@ -346,9 +346,8 @@ class TupleVariation(object):
|
||||
return bytearr
|
||||
|
||||
@staticmethod
|
||||
def encodeDeltaRunAsZeroes_(deltas, offset, bytearr):
|
||||
def encodeDeltaRunAsZeroes_(deltas, pos, bytearr):
|
||||
runLength = 0
|
||||
pos = offset
|
||||
numDeltas = len(deltas)
|
||||
while pos < numDeltas and runLength < 64 and deltas[pos] == 0:
|
||||
pos += 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user