Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Moving decl.pxi to decl.pxd and trivial doctest fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Scrimshaw committed Sep 19, 2015
1 parent 8b3b323 commit 70d8a0e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/sage/libs/coxeter3/coxeter.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#*****************************************************************************

from sage.structure.sage_object cimport SageObject
include "decl.pxi"
include "decl.pxd"

cdef class String:
cdef c_String x
Expand Down
4 changes: 2 additions & 2 deletions src/sage/libs/coxeter3/coxeter.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Low level part of the interface to Fokko Ducloux's Coxeter 3 library
#*****************************************************************************

include "sage/ext/interrupt.pxi"
include "decl.pxi"
include "decl.pxd"

initConstants()

Expand Down Expand Up @@ -719,7 +719,7 @@ cdef class CoxGroupElement:
sage: W = CoxGroup(['A', 4]) # optional - coxeter3
sage: w = CoxGroupElement(W, [1,2,3,2,3]) # optional - coxeter3
sage: w._coxnumber() # optional - coxeter3
7L
7
"""
return self.group.extendContext(self.word)

Expand Down
4 changes: 2 additions & 2 deletions src/sage/libs/coxeter3/coxeter_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ def index_set(self):
sage: W = CoxeterGroup(['A', 3], implementation='coxeter3') # optional - coxeter3
sage: W.index_set() # optional - coxeter3
[1, 2, 3]
(1, 2, 3)
sage: C = CoxeterGroup(['A', 3,1], implementation='coxeter3') # optional - coxeter3
sage: C.index_set() # optional - coxeter3
[0, 1, 2, 3]
(0, 1, 2, 3)
"""
return self.cartan_type().index_set()
#return range(1, self.rank()+1)
Expand Down
File renamed without changes.

0 comments on commit 70d8a0e

Please sign in to comment.