From 147756ac317dd5ddf3d7c99d8111252f61a0b822 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 12 Oct 2016 20:29:46 -0400 Subject: [PATCH] Use syevr instead of syev for eigenvalues. --- src/dunshire/matrices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dunshire/matrices.py b/src/dunshire/matrices.py index 5f47f97..bf8ae03 100644 --- a/src/dunshire/matrices.py +++ b/src/dunshire/matrices.py @@ -5,7 +5,7 @@ class:`cvxopt.base.matrix` class). from math import sqrt from cvxopt import matrix -from cvxopt.lapack import syev +from cvxopt.lapack import syevr import options @@ -136,7 +136,7 @@ def eigenvalues(symmat): domain_dim = symmat.size[0] eigs = matrix(0, (domain_dim, 1), tc='d') - syev(symmat, eigs) + syevr(symmat, eigs) return list(eigs) -- 2.44.2