diff options
Diffstat (limited to 'test-mogrify.py')
| -rw-r--r-- | test-mogrify.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test-mogrify.py b/test-mogrify.py index 676b1ad..31eba64 100644 --- a/test-mogrify.py +++ b/test-mogrify.py @@ -215,10 +215,10 @@ if __name__ == '__main__': array_b = np.multiply(im.astype('float64'), frac_b) next_im = np.add(array_a, array_b).astype('uint8') - # 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 = next_im.copy().astype('uint8') + 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 = next_im.copy().astype('uint8') else: last_im = im.copy().astype('uint8') |
