Skip to content

Commit

Permalink
Removing redundant use of 'int' function.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmacdonald-stsci committed Jan 7, 2025
1 parent bb22a39 commit aa65bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stcal/jump/jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa65bb9

Please sign in to comment.