You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throws error PariError: domain error in minim0: form is not positive definite
Additional Information
The is_equivalent function calls I.theta_series_vector and a theta series only makes sense in a definite quaternion algebra when the norm form of the ideal is positive definite. In turn it calls Pari's qfrep which does a positive definite check, and throws the error. An alternative method to test equivalence would be to implement Minkowski reduced basis, and look for the smallest norm element of J.conjugate() * I
Steps To Reproduce
Define an indefinite quaternion algebra. Define two equivalent right ideals
I
andJ
. ThenI.is_equivalent(J)
throws an error.Expected Behavior
Should return
True
.Actual Behavior
Throws error
PariError: domain error in minim0: form is not positive definite
Additional Information
The
is_equivalent
function callsI.theta_series_vector
and a theta series only makes sense in a definite quaternion algebra when the norm form of the ideal is positive definite. In turn it calls Pari'sqfrep
which does a positive definite check, and throws the error. An alternative method to test equivalence would be to implement Minkowski reduced basis, and look for the smallest norm element ofJ.conjugate() * I
@S17A05
Environment
Checklist
The text was updated successfully, but these errors were encountered: