summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-15 04:08:20 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-15 04:08:20 +0200
commitf634aed28a50697f2c841e716cb7861962034099 (patch)
tree881e8629497f01b45506e9346fa73b327d9d1e29
parentbadfa665431802d96efb9259e076bc1e34cc4356 (diff)
chex out
-rw-r--r--test-mogrify.py2
1 files changed, 2 insertions, 0 deletions
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')