Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Is this a bug in QuadraticForm?

QuadraticForm(ZZ, 2, [3, 2, 0]).lll()

gives a ValueError: a matrix from Full MatrixSpace of 2 by 1 dense matrices over Integer Ring cannot be converted to a matrix in Full MatrixSpace of 2 by 2 dense matrices over Integer Ring!

Is this a bug or am I missing some precondition?

Is this a bug in QuadraticForm?

QuadraticForm(ZZ, 2, [3, 2, 0]).lll()

gives a ValueError: a matrix from Full MatrixSpace of 2 by 1 dense matrices over Integer Ring cannot be converted to a matrix in Full MatrixSpace of 2 by 2 dense matrices over Integer Ring!

Is this a bug or am I missing some precondition?

Is this a bug in QuadraticForm?

QuadraticForm(ZZ, 2, [3, 2, 0]).lll()

gives a ValueError: a matrix from Full MatrixSpace of 2 by 1 dense matrices over Integer Ring cannot be converted to a matrix in Full MatrixSpace of 2 by 2 dense matrices over Integer Ring!

Is this a bug or am I missing some precondition?

Is this a bug in QuadraticForm?

QuadraticForm(ZZ, 2, [3, 2, 0]).lll()

gives a ValueError: a matrix from Full MatrixSpace of 2 by 1 dense matrices over Integer Ring cannot be converted to a matrix in Full MatrixSpace of 2 by 2 dense matrices over Integer Ring!

Is this a bug or am I missing some precondition?