synthesis bugfix

This commit is contained in:
zymon 2023-11-23 11:54:39 +01:00
parent 26c9c70f3c
commit 43c1486f7d

View file

@ -252,7 +252,7 @@ function synthesis(
@turbo for s 0:(S-1) @turbo for s 0:(S-1)
ss = s*H # Segment shift ss = s*H # Segment shift
for n = 1:W for n = 1:W
xn[ss+n] += xs[n, s] * w[n] xn[ss+n] += xs[n, s+1] * w[n]
xd[ss+n] += [n] xd[ss+n] += [n]
end end
end end