Skip to content

Commit

Permalink
Fix compatibility issue with older jax versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bwohlberg committed Oct 31, 2023
1 parent 7b3ecfa commit 1a2f2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scripts/ct_projector_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@

y = np.zeros(H.output_shape, dtype=np.float32)
y[num_angles // 3, det_count // 2] = 1.0
y = jax.array(y)
y = jnp.array(y)

HTys = {}
for name, H in projectors.items():
Expand Down

0 comments on commit 1a2f2d4

Please sign in to comment.