Skip to content

Commit

Permalink
sa
Browse files Browse the repository at this point in the history
  • Loading branch information
chaithyagr committed Sep 12, 2024
1 parent 2a6b35b commit 8f0851f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/operators/test_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def test_adj_op_density(
"""Test the batch type 1 (adjoint)."""
kspace_data = to_interface(kspace_data, array_interface)
jitter = np.random.rand(operator.samples.shape[0]).astype(np.float32)
if operator.backend == 'cufinufft':
jitter = to_interface(jitter, 'cupy')
if operator.backend == "cufinufft":
jitter = to_interface(jitter, "cupy")
# Add very little noise to the trajectory, variance of 1e-3
if operator.uses_density:
# Test density can be updated
Expand Down

0 comments on commit 8f0851f

Please sign in to comment.