Changeset 20f29bb in git for libpolys/polys/ext_fields


Ignore:
Timestamp:
Apr 24, 2015, 2:06:33 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
4442f24da6fca98672573b143a53742e82d5b9c2
Parents:
769a27f375c14dbe7cac70321db6bb76ef18fb07
Message:
conversion of bigint to extension fields
Location:
libpolys/polys/ext_fields
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    r769a27 r20f29bb  
    10541054    if (nCoeff_is_Zp(src) && nCoeff_is_Q(bDst))
    10551055      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))
    10571057      return naMap0P;                            /// Q      --> Z/p(a)
    10581058    if ((src->rep==n_rep_gap_gmp) && nCoeff_is_Zp(bDst))
     
    10661066  if (h != 1) return NULL;
    10671067  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;
    10691069
    10701070  nMapFunc nMap=n_SetMap(src->extRing->cf,dst->extRing->cf);
  • libpolys/polys/ext_fields/transext.cc

    r769a27 r20f29bb  
    19621962    if (nCoeff_is_Zp(src) && nCoeff_is_Q(bDst))
    19631963      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))
    19651965      return ntMap0P;                                 /// Q       --> Z/p(T)
    19661966    if (nCoeff_is_Zp(src) && nCoeff_is_Zp(bDst))
Note: See TracChangeset for help on using the changeset viewer.