Ask Your Question

Revision history [back]

Why would you expect them to be the same? I am not able to read all of your code and understand what it does, but:

cubicSurface6Torus.f_vector()

returns

[1, 64, 216, 144]

while

cubicPlein6Torus.f_vector()

returns

[1, 64, 260, 312, 120]

So while they have the same number of vertices — indeed the same vertices, since cubicSurface6Torus.vertices() == cubicPlein6Torus.vertices() returns True — the number of 1-simplices and 2-simplices differ in these two complexes.