From e15d8501c5e2fa3e9cb23ce09df1dc0acd8475cd Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Apr 2018 14:51:30 +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 5818b8b..99f08fd 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).astype(int) + im = np.add(array_a, array_b).astype('int8') print(im.shape, im.dtype) last_im = tmp_im else: -- cgit v1.2.3-70-g09d2