From f2db55fcefc8df17e2baa35b797c5819bbb2fe12 Mon Sep 17 00:00:00 2001 From: Alexander Koziell-Pipe Date: Mon, 9 Sep 2024 09:49:58 +0000 Subject: [PATCH] Fix mypy error. --- tests/test_simulate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_simulate.py b/tests/test_simulate.py index bc3fbd9f..e0c931eb 100644 --- a/tests/test_simulate.py +++ b/tests/test_simulate.py @@ -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, [],