From 1c9efcae8362bfe8f29ac9e2e771b816f700009c Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Apr 2018 14:51:06 +0200 Subject: push --- test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test.py') diff --git a/test.py b/test.py index 8b7f611..5818b8b 100644 --- a/test.py +++ b/test.py @@ -65,7 +65,7 @@ if __name__ == '__main__': tmp_im = im.copy() array_a = np.multiply(im, 1/frac) array_b = np.multiply(last_im, (frac-1)/frac) - im = np.add(array_a, array_b) + im = np.add(array_a, array_b).astype(int) print(im.shape, im.dtype) last_im = tmp_im else: -- cgit v1.2.3-70-g09d2