Skip to content

Commit

Permalink
fix Euler matrix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Dec 16, 2024
1 parent b69b41f commit c2d4b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cucim/src/cucim/skimage/transform/_geometric.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ def _euler_rotation_matrix(angles, degrees=False):
The Euler rotation matrix.
"""
return spatial.transform.Rotation.from_euler(
"XYZ", angles=angles, degrees=degrees
"XYZ", angles=cp.asnumpy(angles), degrees=degrees
).as_matrix()


Expand Down

0 comments on commit c2d4b97

Please sign in to comment.