Skip to content

Commit

Permalink
Fix mypy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkoziell committed Sep 9, 2024
1 parent 1a963de commit f2db55f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ def test_cat_decomp_scalar(self) -> None:
g = Graph()

# Generate random scalar parameters
phase = Fraction(np.random.randint(1, 10), np.random.randint(1, 10))
power = np.random.randint(1, 10)
positive = np.random.randint(0, 1)
phase = Fraction(random.randint(1, 10), random.randint(1, 10))
power = random.randint(1, 10)
positive = random.randint(0, 1)

# Generate cat-like term with random scalar parameters
G = gen_catlike_term(g, [],
Expand Down

0 comments on commit f2db55f

Please sign in to comment.