# Revision history [back]

### 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?

 2 retagged slelievre 10433 ●10 ●108 ●211 http://carva.org/samue...

### 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?

 3 retagged slelievre 10433 ●10 ●108 ●211 http://carva.org/samue...

### 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?

 4 retagged slelievre 10433 ●10 ●108 ●211 http://carva.org/samue...

### 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?