.closest_vector() function is broken

54 views
Skip to first unread message

Max Alekseyev

unread,
Sep 25, 2021, 1:03:13 PM9/25/21
to sage-support

The following code in Sage 9.4 gives me KeyError?: ((None,), ()) followed by AttributeError?: 'sage.symbolic.expression.Expression' object has no attribute 'ceil':

from sage.modules.free_module_integer import IntegerLattice 
L = IntegerLattice([[-1, 0, 1],[1,0,2]])
L.closest_vector((1,1,1))

I see the same error on many other .closest_vector() calls - so essentially its functionality is broken at the moment. I've reported this as https://trac.sagemath.org/ticket/32486 but nobody seems to care.

Regards,
Max

Dima Pasechnik

unread,
Oct 2, 2021, 5:35:04 AM10/2/21
to sage-support
fix proposed, needs review

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/2e5d9913-b432-4083-8239-ee2ef4e10418n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages