Commit 11a5de94 authored by rpeckner-broad's avatar rpeckner-broad Committed by GitHub
Browse files


parent 00763fe9
......@@ -22,7 +22,6 @@ __license__ = 'WTFPL'
import numpy as np
import sys
from cvxopt import solvers, matrix, spmatrix, mul
import itertools
from scipy import sparse
......@@ -243,4 +242,4 @@ if __name__ == '__main__':
d = np.array([0.8587, 0.1781, 0.0747, 0.8405]);
ret = lsqnonneg(C, d, {'show_progress': False})
print ret['x'].T
print 'Should be [2.5e-07; 6.93e-01]'
\ No newline at end of file
print 'Should be [2.5e-07; 6.93e-01]'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment