BUG: Dispatch threads to process entire image.

This commit is contained in:
Stefan van der Walt
2011-12-20 00:17:47 -08:00
parent c7b3f1e84c
commit 4df36631f6
+1 -1
View File
@@ -213,7 +213,7 @@ class ThreadDispatch(object):
self.chunks.append((img[(height/2):, :, :],
stateimg[(height/2):, :, :]))
for i in range(self.cores):
for i in range(len(self.chunks)):
self.threads.append(ImgThread(func, self.chunks[i][0],
self.chunks[i][1], *args))