Use integer division when calculating DynamicStringIndicesDataField count.
authorW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 13:12:22 +0000 (09:12 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 13:12:22 +0000 (09:12 -0400)
commit7710836fdb50bf4a604fed7f1d28b82b8ccc99c1
treec29b15744439308fa76de05d4de4875e5402b8eb
parent93014f2ba67643b9294967c8a4fe1e8d39509013
Use integer division when calculating DynamicStringIndicesDataField count.

In Python 3, the floating point division lead to:

    Traceback (most recent call last):
      ...
      File ".../igor/struct.py", line 255, in unpack_data
        items = [next(iterator) for i in range(self.arg_count)]
    TypeError: 'numpy.float64' object cannot be interpreted as an integer
igor/binarywave.py