File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ Some fast computations for finite posets
11
11
# https://www.gnu.org/licenses/
12
12
# ****************************************************************************
13
13
from sage.categories.finite_enumerated_sets import FiniteEnumeratedSets
14
- from sage.misc.lazy_import import lazy_import
14
+ from sage.misc.lazy_import import LazyImport
15
15
from sage.sets.recursively_enumerated_set import RecursivelyEnumeratedSet_forest
16
16
17
- lazy_import(' sage.combinat.posets.hasse_cython_flint' ,
18
- [' coxeter_matrix_fast' , ' moebius_matrix_fast' ],
19
- deprecation = 35564 )
17
+ coxeter_matrix_fast = LazyImport(' sage.combinat.posets.hasse_cython_flint' , ' coxeter_matrix_fast' ,
18
+ deprecation = 35564 )
19
+ moebius_matrix_fast = LazyImport(' sage.combinat.posets.hasse_cython_flint' , ' moebius_matrix_fast' ,
20
+ deprecation = 35564 )
20
21
21
22
22
23
class IncreasingChains (RecursivelyEnumeratedSet_forest ):
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ cpdef Matrix_integer_dense moebius_matrix_fast(list positions):
35
35
36
36
EXAMPLES::
37
37
38
- sage: from sage.combinat.posets.hasse_cython import moebius_matrix_fast
38
+ sage: from sage.combinat.posets.hasse_cython_flint import moebius_matrix_fast
39
39
sage: D = [{0,1},{1}]
40
40
sage: moebius_matrix_fast(D)
41
41
[ 1 -1]
@@ -94,7 +94,7 @@ cpdef Matrix_integer_dense coxeter_matrix_fast(list positions):
94
94
95
95
EXAMPLES::
96
96
97
- sage: from sage.combinat.posets.hasse_cython import coxeter_matrix_fast
97
+ sage: from sage.combinat.posets.hasse_cython_flint import coxeter_matrix_fast
98
98
sage: D = [{0,1},{1}]
99
99
sage: coxeter_matrix_fast(D)
100
100
[ 0 -1]
You can’t perform that action at this time.
0 commit comments