Fix integer signedness mismatch in analyze.py

Fixes #283
This commit is contained in:
David Vierra 2016-10-24 04:36:15 -10:00
parent 4652e537ae
commit 55cd86cf4b

View File

@ -26,7 +26,7 @@ class AnalyzeOperation(Operation):
super(AnalyzeOperation, self).__init__(dimension, selection)
self.createSections = False
self.blocks = numpy.zeros(65536, dtype='uintp')
self.blocks = numpy.zeros(65536, dtype='intp')
self.selection = selection
self.entityCounts = defaultdict(int)
self.tileEntityCounts = defaultdict(int)