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
Since phi is an embedding of K into K2, and f has coefficients defined over QQ, phi cannot change the base ring of f. We add functionality to change_ring on morphisms so it uses the canonical embedding of the base ring of f into the domain of phi when such a canonical embedding exists. When such a canonical embedding does not exist, we add an error to change_ring noting the mismatch between the base ring of f and the domain of phi.
The following code does not work, and gives an unhelpful error message.
Since phi is an embedding of K into K2, and f has coefficients defined over QQ, phi cannot change the base ring of f. We add functionality to change_ring on morphisms so it uses the canonical embedding of the base ring of f into the domain of phi when such a canonical embedding exists. When such a canonical embedding does not exist, we add an error to change_ring noting the mismatch between the base ring of f and the domain of phi.
Component: number fields
Keywords: SI2019
Author: Henry Talbott
Branch/Commit:
d85b712
Reviewer: Adam Towsley, Anna Chlopecki, Emily Rachfal, Juliano Levier-Gomes
Issue created by migration from https://trac.sagemath.org/ticket/28028
The text was updated successfully, but these errors were encountered: