Update aplK.py
This commit is contained in:
parent
d9bf5e9747
commit
fe3b7a0a51
2
aplK.py
2
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-1) * (dim-2)) // 2)) * \
|
||||
cochain[k] = ((-1) ** (((dim) * (dim-1)) // 2)) * \
|
||||
self.elements[k].integral()
|
||||
return cochain
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user