Skip to content

Commit

Permalink
last modifs
Browse files Browse the repository at this point in the history
  • Loading branch information
qbarthelemy committed Jan 2, 2024
1 parent f1c7670 commit aded0f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyriemann/utils/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ def is_hankel(X):
return False
n, _ = X.shape

for i in range(0, n):
for j in range(0, n):
for i in range(n):
for j in range(n):

if (i + j < n):
if (X[i, j] != X[i + j, 0]):
return False
else :
else:
if (X[i, j] != X[i + j - n + 1, n - 1]):
return False

Expand Down

0 comments on commit aded0f1

Please sign in to comment.