From f634aed28a50697f2c841e716cb7861962034099 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 15 May 2018 04:08:20 +0200 Subject: chex out --- test-mogrify.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-mogrify.py') diff --git a/test-mogrify.py b/test-mogrify.py index 4596f2c..49ca1dd 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -147,6 +147,8 @@ if __name__ == '__main__': if data_opt.recurse_roll != 0: last_im = np.roll(tmp_im, data_opt.recurse_roll, axis=data_opt.recurse_roll_axis) + else: + last_im = im.copy().astype('uint8') else: last_im = im.copy().astype('uint8') -- cgit v1.2.3-70-g09d2