Skip to content

Commit fec0742

Browse files
committed
fix norm in CWW
1 parent 92349ff commit fec0742

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pyGroupedTransforms/GroupedCoefficients.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def norms(self, Dict=False, other=None, m=None):
193193
Psi, scipy.linalg.circulant(variances(j[dd], m))
194194
)
195195

196-
n[i] += a @ Psi @ a
196+
n[i] += a.T @ Psi @ a
197197
ac_in = ac_in + 2 ** np.sum(j)
198198
return np.sqrt(n)
199199
else:
@@ -221,7 +221,7 @@ def norms(self, Dict=False, other=None, m=None):
221221
Psi, scipy.linalg.circulant(variances(j[dd], m))
222222
)
223223

224-
n[i] += a @ Psi @ a
224+
n[i] += a.T @ Psi @ a
225225
ac_in = ac_in + 2 ** np.sum(j)
226226

227227
if len(self.settings[i].u) != 0:

0 commit comments

Comments
 (0)