Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
QQ.algebraic_field(Rational) should be just QQ #14476
So, QQ in this context should be understood as degree=0 field extension of QQ itself?
Then don't do this. Proper fix in the way @jksuom suggested - should, probably, introduce
I agree. Though I think that RationalField could be a subclass of AlgebraicField (finite algebraic extension of degree 1) from the mathematical point of view. The situation is analogous to Integer being derived Rational (rational number with denominator 1).