From: Michael Orlitzky Date: Thu, 13 Oct 2016 00:29:46 +0000 (-0400) Subject: Use syevr instead of syev for eigenvalues. X-Git-Tag: 0.1.0~154 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=147756ac317dd5ddf3d7c99d8111252f61a0b822;p=dunshire.git Use syevr instead of syev for eigenvalues. --- 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)