From aa65bb91fd0ba8233e3677a1054f76646c79caa9 Mon Sep 17 00:00:00 2001 From: Ken MacDonald Date: Tue, 7 Jan 2025 15:16:22 -0500 Subject: [PATCH] Removing redundant use of 'int' function. --- src/stcal/jump/jump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stcal/jump/jump.py b/src/stcal/jump/jump.py index 9fffc7a1a..a6ceee64f 100644 --- a/src/stcal/jump/jump.py +++ b/src/stcal/jump/jump.py @@ -283,7 +283,7 @@ def slice_data(twopt_params, data, gdq, readnoise_2d, n_slices): says how many rows to increment to get to the next slice. """ nrows = data.shape[2] - yinc = int(nrows // n_slices) + yinc = nrows // n_slices slices = [] # Slice up data, gdq, readnoise_2d into slices # Each element of slices is a tuple of