mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
fix: Bug in Corr.Hankel fixed
This commit is contained in:
parent
1196935e4e
commit
091f19def1
1 changed files with 2 additions and 2 deletions
|
@ -350,8 +350,8 @@ class Corr:
|
||||||
new_content.append(array.copy())
|
new_content.append(array.copy())
|
||||||
|
|
||||||
def wrap(i):
|
def wrap(i):
|
||||||
if i >= self.T:
|
while i >= self.T:
|
||||||
return i - self.T
|
i -= self.T
|
||||||
return i
|
return i
|
||||||
|
|
||||||
for t in range(self.T):
|
for t in range(self.T):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue