From: Michael Orlitzky Date: Sun, 4 Apr 2021 12:34:59 +0000 (-0400) Subject: mjo/cone/symmetric_pd.py: add a missing set_random_seed(). X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a517ccf793b5915a4a111488d2c876c4120d6f37;p=sage.d.git mjo/cone/symmetric_pd.py: add a missing set_random_seed(). --- 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