I definitely agree about tests! There should be a generic "test suite"
that should systematically be run with these all different
implementations. It is a bit ridiculous that your example was not
caught.
On Fri, 29 Sept 2023 at 17:53, John H Palmieri wrote:
>
> First, an error in the original
First, an error in the original message: it should have been
"identity_matrix(F, 1)". That doesn't make any difference in the behavior.
A little exploration suggests that the problem goes away if you make the
identity matrix sparse: the problem may be with multiplying a dense matrix
with a
On Fri, Sep 29, 2023 at 8:32 AM Vincent Delecroix
<20100.delecr...@gmail.com> wrote:
>
> What is your sage version? How did you install it? Did you open an
> issue on github?
I can confirm this happens on Linux, with a recent Sage beta, too.
This is now
What is your sage version? How did you install it? Did you open an
issue on github?
Best
Vincent
On Tue, 26 Sept 2023 at 07:00, John H Palmieri wrote:
>
> Setup:
>
> sage: F = GF(2, impl='ntl')
> sage: m_ntl = identity_matrix(1, F)
> sage: v_ntl = vector(F, (1,))
>
> Now consider
>
> sage:
Setup:
sage: F = GF(2, impl='ntl')
sage: m_ntl = identity_matrix(1, F)
sage: v_ntl = vector(F, (1,))
Now consider
sage: m_ntl * v_ntl
sage: v_ntl * m_ntl
I'm trying to multiply a 1x1 matrix by a 1-dimensional vector, in one order
or the other. Here's what happens: the first line fails with a