diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:08:20 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-15 04:08:20 +0200 |
| commit | f634aed28a50697f2c841e716cb7861962034099 (patch) | |
| tree | 881e8629497f01b45506e9346fa73b327d9d1e29 /test-mogrify.py | |
| parent | badfa665431802d96efb9259e076bc1e34cc4356 (diff) | |
chex out
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 2 |
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') |
