Mentions légales du service

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

Fix numpy array access bug, issue #9.

(It closes issue #9)
parent 4920e0a8
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,8 @@ class Faust:
keyCol=list_index[1]
keyRow=list_index[0]
identity=np.eye(F.getNbCol(),F.getNbCol());
identity=identity[...,keyCol]
identity=np.eye(F.getNbCol(),F.getNbCol())
if(keyCol != Ellipsis): identity=identity[...,keyCol]
submatrix=F*identity
submatrix=submatrix[keyRow,:]
return submatrix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment