Mentions légales du service

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

Modify slicing part of old test script for pyfaust because of d6d75e96.

parent a971c28b
No related branches found
No related tags found
No related merge requests found
Pipeline #833855 skipped
......@@ -220,8 +220,8 @@ print("Ok")
print("*** SLICING ***")
for i in range(dim1):
for j in range(dim2):
F_i_j=F[i,j].todense();
F_trans_j_i=F_trans[j,i].todense();
F_i_j=F[i:i+1,j:j+1].todense();
F_trans_j_i=F_trans[j:j+1,i:i+1].todense();
if F_i_j[0,0] != F_dense[i,j]:
raise ValueError('invalid value')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment