Skip to content

Commit

Permalink
fix shape jax random
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles MOUSSA committed Mar 7, 2025
1 parent f755efa commit 1bbc662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_differentiation.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
def test_shots(same_name: bool) -> None:
param_name = "theta"
if same_name:
x = jax.random.uniform(jax.random.key(0), (1))
x = jax.random.uniform(jax.random.key(0), 1)
ops = [RX(param_name, 0), RX(param_name, 1)]

def values_to_dict(x):
Expand Down

0 comments on commit 1bbc662

Please # to comment.