Closed jhpalmieri closed 11 years ago
Could you make self.__contractible = {}
to self.__contractible = None
to be consistent with the initial state (I also think this will result in a speedup for larger complexes since I think it will know to compute a large contractible subcomplex)? Other than that, I think this looks good. Thanks.
Good point, thanks. Fixed now.
Attachment: trac_14354-simplicial.patch.gz
Thank you.
Reviewer: Travis Scrimshaw
Merged: sage-5.9.beta2
Running
add_face
on a simplicial complex doesn't clear various data related to homology calculations:See also http://ask.sagemath.org/question/2391/homology-of-simplicial-complexes.
CC: @tscrim
Component: algebraic topology
Author: John Palmieri
Reviewer: Travis Scrimshaw
Merged: sage-5.9.beta2
Issue created by migration from https://trac.sagemath.org/ticket/14354