summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
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)