From 128f5df8216134277753ab0d37b0fa7b2848edcf Mon Sep 17 00:00:00 2001 From: Tian Zheng Date: Thu, 3 Aug 2023 10:27:23 +0800 Subject: [PATCH] Fix test_eig_op_static_build (#55897) --- test/legacy_test/test_eig_op.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/legacy_test/test_eig_op.py b/test/legacy_test/test_eig_op.py index c2861fc8bbe..5e804be327e 100644 --- a/test/legacy_test/test_eig_op.py +++ b/test/legacy_test/test_eig_op.py @@ -281,6 +281,7 @@ class TestEigStatic(TestEigOp): class TestEigDyGraph(unittest.TestCase): def test_check_output_with_place(self): + np.random.seed(1024) input_np = np.random.random([3, 3]).astype('complex') expect_val, expect_vec = np.linalg.eig(input_np) -- GitLab