]> gitweb.michael.orlitzky.com - sage.d.git/commitdiff
mjo/cone/symmetric_pd.py: add a missing set_random_seed().
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 4 Apr 2021 12:34:59 +0000 (08:34 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 4 Apr 2021 12:34:59 +0000 (08:34 -0400)
mjo/cone/symmetric_pd.py

index 5dcacfb8ea82b658a0c6d9bb46aed9a3034e2512..75c4572eed3cf433b7d0bf6a0e84491919179387 100644 (file)
@@ -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