summaryrefslogtreecommitdiff
path: root/test-mogrify.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 05:28:57 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 05:28:57 +0200
commitc91dd8fa69e7396568d631d0be1cf1f70dc47da6 (patch)
tree72167ad6b5e3f4ad06122b7153970db338a3e4b6 /test-mogrify.py
parent0e58f03e81004ec248f707289a7196b63b5e8a68 (diff)
ok
Diffstat (limited to 'test-mogrify.py')
-rw-r--r--test-mogrify.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-mogrify.py b/test-mogrify.py
index 083154a..3ef86b7 100644
--- a/test-mogrify.py
+++ b/test-mogrify.py
@@ -204,9 +204,9 @@ if __name__ == '__main__':
array_a = np.multiply(last_im.astype('float64'), frac_a)
array_b = np.multiply(A_im.astype('float64'), frac_b)
array_c = np.multiply(im.astype('float64'), frac_c)
- comb_ab = np.add(array_a, array_b)
- comb_abc = np.add(array_ab, array_c)
- next_im = comb_abc.astype('uint8')
+ array_ab = np.add(array_a, array_b)
+ array_abc = np.add(array_ab, array_c)
+ next_im = array_abc.astype('uint8')
print("rec: {}, seq: {}, pix: {}".format(frac_a, frac_b, frac_c))
else: