Changeset 20f29bb in git for libpolys/polys/ext_fields
- Timestamp:
- Apr 24, 2015, 2:06:33 PM (9 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- 4442f24da6fca98672573b143a53742e82d5b9c2
- Parents:
- 769a27f375c14dbe7cac70321db6bb76ef18fb07
- Location:
- libpolys/polys/ext_fields
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/algext.cc
r769a27 r20f29bb 1054 1054 if (nCoeff_is_Zp(src) && nCoeff_is_Q(bDst)) 1055 1055 return naMapP0; /// Z/p --> Q(a) 1056 if (nCoeff_is_Q (src) && nCoeff_is_Zp(bDst))1056 if (nCoeff_is_Q_or_BI(src) && nCoeff_is_Zp(bDst)) 1057 1057 return naMap0P; /// Q --> Z/p(a) 1058 1058 if ((src->rep==n_rep_gap_gmp) && nCoeff_is_Zp(bDst)) … … 1066 1066 if (h != 1) return NULL; 1067 1067 if ((!nCoeff_is_Zp(bDst)) && (!nCoeff_is_Q(bDst))) return NULL; 1068 if ((!nCoeff_is_Zp(bSrc)) && (!nCoeff_is_Q (bSrc))) return NULL;1068 if ((!nCoeff_is_Zp(bSrc)) && (!nCoeff_is_Q_or_BI(bSrc))) return NULL; 1069 1069 1070 1070 nMapFunc nMap=n_SetMap(src->extRing->cf,dst->extRing->cf); -
libpolys/polys/ext_fields/transext.cc
r769a27 r20f29bb 1962 1962 if (nCoeff_is_Zp(src) && nCoeff_is_Q(bDst)) 1963 1963 return ntMapP0; /// Z/p --> Q(T) 1964 if (nCoeff_is_Q (src) && nCoeff_is_Zp(bDst))1964 if (nCoeff_is_Q_or_BI(src) && nCoeff_is_Zp(bDst)) 1965 1965 return ntMap0P; /// Q --> Z/p(T) 1966 1966 if (nCoeff_is_Zp(src) && nCoeff_is_Zp(bDst))
Note: See TracChangeset
for help on using the changeset viewer.