From d792863a75eb61118385b17ab90531a1a78a31b9 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 22 Apr 2018 14:21:48 +0200 Subject: push --- test.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test.py') diff --git a/test.py b/test.py index 5b75c9b..c00f017 100644 --- a/test.py +++ b/test.py @@ -65,6 +65,7 @@ if __name__ == '__main__': im = np.add(np.multiply(im, 1/(frac)), np.multiply(last_im, (frac-1)/(frac))) last_im = tmp_im else: + last_im = im.copy() print(im.shape) image_pil = Image.fromarray(im) image_pil.save(save_path) -- cgit v1.2.3-70-g09d2