From a517ccf793b5915a4a111488d2c876c4120d6f37 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sun, 4 Apr 2021 08:34:59 -0400 Subject: [PATCH] mjo/cone/symmetric_pd.py: add a missing set_random_seed(). --- mjo/cone/symmetric_pd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mjo/cone/symmetric_pd.py b/mjo/cone/symmetric_pd.py index 5dcacfb..75c4572 100644 --- a/mjo/cone/symmetric_pd.py +++ b/mjo/cone/symmetric_pd.py @@ -31,6 +31,7 @@ def is_symmetric_pd(A): The identity matrix is obviously symmetric and positive-definite:: + sage: set_random_seed() sage: A = identity_matrix(ZZ, ZZ.random_element(10)) sage: is_symmetric_pd(A) True -- 2.43.2