summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-22 14:12:34 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-22 14:12:34 +0200
commit412fbc9e4970b9b3536f396dccea0bc3fde99d4a (patch)
tree38f38582bdb05b5e5e58a4927a3a3ae9d9e39f20 /test.py
parentc6ed68be9ec8ab7fb6a4cb8b220139269a8de246 (diff)
push
Diffstat (limited to 'test.py')
-rw-r--r--test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.py b/test.py
index f035a65..56b3dbc 100644
--- a/test.py
+++ b/test.py
@@ -63,7 +63,7 @@ if __name__ == '__main__':
if i < 1:
im = np.divide(im, 2)
tmp_im = im.copy()
- im += last_im
+ im = np.add(im, last_im)
last_im = tmp_im
image_pil = Image.fromarray(im)
image_pil.save(save_path)