#13254: compute fundamental groups of simplicial complexes
--------------------------------------+-------------------------------------
       Reporter:  jhpalmieri          |         Owner:  jhpalmieri  
           Type:  enhancement         |        Status:  needs_review
       Priority:  minor               |     Milestone:  sage-5.7    
      Component:  algebraic topology  |    Resolution:              
       Keywords:                      |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:  mmarco      
        Authors:  John Palmieri       |     Merged in:              
   Dependencies:  #12339              |      Stopgaps:              
--------------------------------------+-------------------------------------

Comment (by mmarco):

 Looks good to me. By checking this i discovered something the shouldn't
 happen, but it has nothing to do with this ticket:

 {{{
 sage: F=simplicial_complexes.Sphere(0)
 sage: F.connected_component()
 ---------------------------------------------------------------------------
 LookupError                               Traceback (most recent call
 last)
 <ipython-input-48-5cd541b6e495> in <module>()
 ----> 1 F.connected_component()

 /home/mmarco/sage-5.7.beta3/local/lib/python2.7/site-
 packages/sage/homology/simplicial_complex.pyc in connected_component(self,
 simplex)
    2911         else:
    2912             v = simplex[0]
 -> 2913         vertices =
 self.graph().connected_component_containing_vertex(v)
    2914         facets = [f for f in self.facets() if
 f.is_face(Simplex(vertices))]
    2915         return SimplicialComplex(facets)

 /home/mmarco/sage-5.7.beta3/local/lib/python2.7/site-
 packages/sage/graphs/generic_graph.pyc in
 connected_component_containing_vertex(self, vertex)
    3894         """
    3895         try:
 -> 3896             c = list(self._backend.depth_first_search(vertex,
 ignore_direction=True))
    3897         except AttributeError:
    3898             c = list(self.depth_first_search(vertex,
 ignore_direction=True))

 /home/mmarco/sage-5.7.beta3/local/lib/python2.7/site-
 packages/sage/graphs/base/c_graph.so in
 sage.graphs.base.c_graph.CGraphBackend.depth_first_search
 (sage/graphs/base/c_graph.c:17312)()

 /home/mmarco/sage-5.7.beta3/local/lib/python2.7/site-
 packages/sage/graphs/base/c_graph.so in
 sage.graphs.base.c_graph.Search_iterator.__init__
 (sage/graphs/base/c_graph.c:19227)()

 LookupError: Vertex (0) is not a vertex of the graph.

 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13254#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to