Skip to content

Commit 70c7dcb

Browse files
committed
fix norms for CWW
1 parent 8422b35 commit 70c7dcb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "pyGroupedTransforms"
7-
version = "0.3.2"
7+
version = "0.3.3"
88
authors = [
99
{ name="Felix Wirth", email="fwi012001@gmail.com" },
1010
]

src/pyGroupedTransforms/GroupedCoefficients.py

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

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

226-
n[i] += a.T @ Psi @ a
226+
n[i] += a @ Psi.T @ a.T
227227
ac_in = ac_in + 2 ** np.sum(j)
228228

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

0 commit comments

Comments
 (0)