From 4bc5ca2b0ae5fc5174b994be77c5e1bb50df4861 Mon Sep 17 00:00:00 2001 From: Eelco Hoogendoorn <> Date: Sun, 5 Nov 2023 08:07:05 +0100 Subject: [PATCH] fixes inverse factor --- numga/operator/factory.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/numga/operator/factory.py b/numga/operator/factory.py index 05846ee..febd5a0 100644 --- a/numga/operator/factory.py +++ b/numga/operator/factory.py @@ -545,9 +545,9 @@ def inverse_factor(self, x: SubSpace) -> Operator: inverse(x) = (x * inverse_factor(x))<0> """ - p = self.product(self.conjugate(x), self.involute(x)).symmetry((0, 1), +1) - q = self.product(p, x.reverse())#.symmetry((1, 2), +1) - return q + p = self.product(self.conjugate(x), self.involute(x)) + q = self.product(p, x.reverse()) + return q.symmetry((0,1,2)) @cache def inertia(self, l: SubSpace, r: SubSpace) -> Operator: