iamax

26 views
Skip to first unread message

Serge Tournier

unread,
Mar 1, 2021, 3:02:34 PM3/1/21
to CVXOPT
I can't get cvxopt.blas.iamax to return anything else than 0

import cvxopt as cv
x = cv.matrix([1.,2.,3.,4.], (4,1))
print(cv.blas.iamax(x))

returns "0"

Any idea what is the problem?

Martin

unread,
Mar 1, 2021, 3:56:39 PM3/1/21
to CVXOPT
I just had a look and found that it is a bug that affects Python 3+ versions of CVXOPT. I have fixed it in the dev branch—it will be part of the next release.
Reply all
Reply to author
Forward
0 new messages