Changes between Version 2 and Version 6 of Ticket #29866
- Timestamp:
- 06/16/20 08:48:00 (8 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29866
-
Property
Priority
changed from
critical
toblocker
-
Property
Summary
changed from
closest_vector for IntegerLattice is broken
toclosest_vector for IntegerLattice and membership test are broken
-
Property
Priority
changed from
-
Ticket #29866 – Description
v2 v6 10 10 sage: print(v in L) 11 11 False 12 sage: MGAP=libgap(M) 13 sage: vGAP=libgap(v) 14 sage: libgap.SolutionIntMat(MGAP,vGAP) # independent test that v is not in L 15 fail 12 16 }}} 13 17 A simplified version of Taylor Huang's example posted on sage-devel (https://groups.google.com/g/sage-devel/c/CtPAbZPjoeU/m/qj2IH7LxBAAJ) 18 19 Membership test is broken, too (same thread) 20 {{{ 21 from sage.modules.free_module_integer import IntegerLattice 22 coef = Matrix([-44429982080874270968379672793605458, 98931650854481334735580708522902113]) 23 bMat = Matrix([[20957228, -4966110],[ 9411844, 19625639]]) 24 L = IntegerLattice(bMat) 25 coef*bMat in L # prints false 26 bMatGAP=libgap(bMat) 27 v=libgap(coef*bMat)[0] 28 sol=libgap.SolutionIntMat(bMatGAP,v); sol # prints 29 # [ -423434671769860, -18882583298608161305225815339 ] 30 }}}