Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
andykee committed Nov 26, 2024
1 parent 2733c36 commit 205a308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lentil/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def adc(img, gain, saturation_capacity=None, warn_saturate=False, dtype=None):
if dtype is not None:
img = img.astype(dtype)

img[img > saturation_capacity - 1] = saturation_capacity - 1


return img

Expand Down

0 comments on commit 205a308

Please sign in to comment.