We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c89f44 commit 1261d46Copy full SHA for 1261d46
src/skan/csr.py
@@ -525,7 +525,7 @@ def __init__(
525
if np.issubdtype(skeleton_image.dtype, np.floating):
526
self.pixel_values = skeleton_image[coords]
527
elif np.issubdtype(skeleton_image.dtype, np.integer):
528
- self.pixel_values = skeleton_image.astype(float)[coords]
+ self.pixel_values = skeleton_image.astype(np.float64)[coords]
529
else:
530
self.pixel_values = None
531
self.graph = graph
0 commit comments