From a4f22c00f915d4c20f5105039d647540c18b3d83 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 19 Sep 2015 20:57:39 -0400 Subject: [PATCH] Update usage of matrix_simplify_full (now part of Sage). --- mjo/cone/symmetric_psd.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mjo/cone/symmetric_psd.py b/mjo/cone/symmetric_psd.py index bb46fc9..514d039 100644 --- a/mjo/cone/symmetric_psd.py +++ b/mjo/cone/symmetric_psd.py @@ -12,7 +12,6 @@ from sage.all import * from os.path import abspath from site import addsitedir addsitedir(abspath('../../')) -from mjo.symbolic import matrix_simplify_full def is_symmetric_psd(A): @@ -153,7 +152,7 @@ def factor_psd(A): sage: A = matrix(SR, [[0, 2, 3], [2, 0, 0], [3, 0, 0]]) sage: X = factor_psd(A) - sage: A2 = matrix_simplify_full(X*X.transpose()) + sage: A2 = (X*X.transpose()).simplify_full() sage: A == A2 True -- 2.44.2