Skip to content

Commit cb733da

Browse files
neon60namannimmo10
andauthored
Update httomolibgpu/prep/stripe.py
Co-authored-by: Naman Gera <[email protected]>
1 parent 2b2da47 commit cb733da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

httomolibgpu/prep/stripe.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,7 @@ def raven_filter(
411411
If the input array is not three dimensional.
412412
"""
413413

414-
input_type = sinogram.dtype
415-
416-
if input_type not in ["float32"]:
414+
if sinogram.dtype != cp.float32:
417415
raise ValueError("The input data should be float32 data type")
418416

419417
# Padding of the sinogram

0 commit comments

Comments
 (0)