#10538: Implementation of the classes ClusterSeed and Quiver
-----------------------------+----------------------------------------------
   Reporter:  stumpc5        |          Owner:                         
       Type:  enhancement    |         Status:  needs_info             
   Priority:  major          |      Milestone:  sage-5.0               
  Component:  combinatorics  |       Keywords:  cluster algebra, quiver
Work_issues:                 |       Upstream:  N/A                    
   Reviewer:                 |         Author:  Christian Stump        
     Merged:                 |   Dependencies:  #10527                 
-----------------------------+----------------------------------------------
Changes (by JStarx):

  * status:  needs_review => needs_info


Comment:

 Is this dependent on anything other than #10527?  After applying that and
 this patch I get the following:

 {{{
 sage: S = ClusterSeed(['A',3])
 ERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (398, 0))

 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /Users/Starx/sage/devel/sage-main/<ipython console> in <module>()

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/combinat/cluster_algebra_quiver/cluster_seed.pyc in
 __init__(self, data, frozen)
      93         elif type( data ) in [list,tuple] and ( type( data[0] ) is
 str or all(type( comp ) in [list,tuple] and type( comp[0] ) is str for
 comp in data) ):
      94             mutation_type = QuiverMutationType( data )
 ---> 95             quiver = mutation_type.standard_quiver()
      96             self.__init__( quiver )
      97

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/misc/cachefunc.pyc in __call__(self, *args, **kwds)
     553             return self.cache[k]
     554         except KeyError:
 --> 555             w = self._cachedmethod._instance_call(self._instance,
 *args, **kwds)
     556             self.cache[k] = w
     557             return w

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/misc/cachefunc.pyc in _instance_call(self, inst, *args,
 **kwds)
     776
     777         """
 --> 778         return self._cachedfunc.f(inst, *args, **kwds)
     779
     780     def _get_instance_cache(self, inst):

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/combinat/cluster_algebra_quiver/quiver_mutation_type.pyc in
 standard_quiver(self)
    1211         """
    1212         from quiver import Quiver
 -> 1213         Q = Quiver( self._digraph )
    1214         Q._mutation_type = self
    1215         return Q

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/combinat/cluster_algebra_quiver/quiver.pyc in __init__(self,
 data, frozen)
     161
     162             M = _edge_list_to_matrix( dg.edge_iterator(), n, m )
 --> 163             if not _principal_part(M).is_skew_symmetrizable(
 positive=True ):
     164                 raise ValueError, "The input digraph must be skew-
 symmetrizable"
     165             self._digraph = dg

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/structure/element.so in
 sage.structure.element.Element.__getattr__
 (sage/structure/element.c:2884)()

 /Users/Starx/sage/local/lib/python2.6/site-
 packages/sage/structure/parent.so in
 sage.structure.parent.getattr_from_other_class
 (sage/structure/parent.c:3236)()

 AttributeError: 'sage.matrix.matrix_integer_sparse.Matrix_integer_sparse'
 object has no attribute 'is_skew_symmetrizable'
 }}}

 I think the patch was meant for 4.7.2, maybe it needs to be updated to
 work with the current version of sage?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10538#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to