From 7a41ef9db50e5d9cf7c87d1d7f0d98eb822c4008 Mon Sep 17 00:00:00 2001 From: calquezar Date: Sun, 18 Aug 2024 16:49:24 +0200 Subject: [PATCH] Update aplK.py --- aplK.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplK.py b/aplK.py index aaee689..afddda7 100644 --- a/aplK.py +++ b/aplK.py @@ -1141,7 +1141,7 @@ class AlgebraAplK(UniqueRepresentation, Parent): for k in self.elements.keys(): dim = len(k)-1 # the sign is due to stoke's theorem - cochain[k] = ((-1) ** (((dim) * (dim-1)) // 2)) * \ + cochain[k] = ((-1) ** ((dim*(dim-1)) // 2)) * \ self.elements[k].integral() return cochain