Skip to content

Commit 9cf81e4

Browse files
committed
removes dev build and corrects the rescaler
1 parent 1d2b940 commit 9cf81e4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

httomolibgpu/misc/rescale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def rescale_to_int(
8181
output_dtype = np.uint32
8282

8383
if cupy_run:
84-
xp = cp.get_array_module(data)
84+
import cupy as xp
8585
else:
8686
import numpy as xp
8787

0 commit comments

Comments
 (0)