Mercurial > hg > pycsalgos
changeset 36:539b21849166
Fixed loadshowmatrices
author | nikcleju |
---|---|
date | Tue, 15 Nov 2011 15:11:56 +0000 |
parents | d4f9c906dc78 |
children | afcfd4d1d548 |
files | scripts/utils.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/utils.py Tue Nov 15 15:10:53 2011 +0000 +++ b/scripts/utils.py Tue Nov 15 15:11:56 2011 +0000 @@ -12,12 +12,10 @@ def loadshowmatrices(filename, algonames = None): mdict = scipy.io.loadmat(filename) if algonames == None: - algonames = ('GAP','SL0_approx') - else: algonames = mdict['algonames'] for algonameobj in algonames: - algoname = algonames[0,0][0] + algoname = algonames[0][0] print algoname if mdict['meanmatrix'][algoname][0,0].ndim == 2: plt.figure()