Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8a819ef5 authored by hhakim's avatar hhakim
Browse files

Update pyfaust.tools.py since e66ab87d removed conversion to numpy.matrix in...

Update pyfaust.tools.py since e66ab87d removed conversion to numpy.matrix in Faust mul result (added before by 421e8251).
parent 3d6fc5b5
No related branches found
No related tags found
No related merge requests found
......@@ -37,8 +37,8 @@ def greed_omp_chol(x, A, m, stopTol=None, verbose=False):
else:
raise Exception("x must be a vector")
if(Faust.isFaust(A) or isinstance(A, matrix)):
P = lambda z : A*z
Pt = lambda z : A.H*z
P = lambda z : matrix(A*z, copy=False)
Pt = lambda z : matrix(A.H*z, copy=False)
else:
raise Exception("A must be a Faust or a numpy.matrix. Here A is "
"a:"+str(type(A)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment