From c91dd8fa69e7396568d631d0be1cf1f70dc47da6 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 05:28:57 +0200 Subject: ok --- test-mogrify.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test-mogrify.py') 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: -- cgit v1.2.3-70-g09d2