Update aplK.py
This commit is contained in:
parent
fe3b7a0a51
commit
7a41ef9db5
2
aplK.py
2
aplK.py
@ -1141,7 +1141,7 @@ class AlgebraAplK(UniqueRepresentation, Parent):
|
|||||||
for k in self.elements.keys():
|
for k in self.elements.keys():
|
||||||
dim = len(k)-1
|
dim = len(k)-1
|
||||||
# the sign is due to stoke's theorem
|
# 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()
|
self.elements[k].integral()
|
||||||
return cochain
|
return cochain
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user