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
Maybe we use an isinstance() check or something? (alternatively we modify coerce_embedding() of cyclotomic field to not automatically convert unless an embedding is explicitly specified by the user)
Alternatives Considered
Or we can just raise an error in period_lattice but suggest the user they could use the second form. It would make coerce_embedding() more discoverable.
Is there an existing issue for this?
I have searched the existing issues for a bug report that matches the one I want to file, without success.
The text was updated successfully, but these errors were encountered:
Problem Description
Currently,
period_lattice()
requires passing an embedding argument for number field except for ℚ even though it is already an embedded number field.Proposed Solution
We make it automatically do the equivalent of the following.
There's a caveat though, some special fields have
coerce_embedding
always defined.Maybe we use an
isinstance()
check or something? (alternatively we modifycoerce_embedding()
of cyclotomic field to not automatically convert unless an embedding is explicitly specified by the user)Alternatives Considered
Or we can just raise an error in
period_lattice
but suggest the user they could use the second form. It would makecoerce_embedding()
more discoverable.Is there an existing issue for this?
The text was updated successfully, but these errors were encountered: