# Revision history [back]

### Hyperbolic forms over Qp(2)

Is this a bug in Sage or am I doing something wrong:

q = DiagonalQuadraticForm(QQ, [1,1,-1,-1])
q.is_hyperbolic(2)


The answer should be clearly true, but Sage return false???

 2 retagged FrédéricC 2604 ●3 ●29 ●54

### Hyperbolic forms over Qp(2)

Is this a bug in Sage or am I doing something wrong:

q = DiagonalQuadraticForm(QQ, [1,1,-1,-1])
q.is_hyperbolic(2)


The answer should be clearly true, but Sage return false???