Changeset 9053f02 in git


Ignore:
Timestamp:
Dec 7, 2012, 2:19:36 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
90606248d583c5fc68e2935f8e617bf697e3814b
Parents:
56892ef1d39dd9a7a3628073c6b656961ba9bc0d
git-author:
Martin Lee <martinlee84@web.de>2012-12-07 14:19:36+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-12-10 17:04:05+01:00
Message:
fix: normalization in transcendental extension over finite field
File:
1 edited

Legend:

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

    r56892e r9053f02  
    11341134       DEN(f), or both, due to previous arithmetics. The next call will
    11351135       remove those nested fractions, in case there are any. */
    1136     if (nCoeff_is_Q(ntCoeffs)) handleNestedFractionsOverQ(f, cf);
     1136    if (nCoeff_is_Zp(ntCoeffs) && p_IsConstant (DEN (f), ntRing))
     1137    {
     1138      NUM (f) = p_Div_nn (NUM (f), p_GetCoeff (DEN(f),ntRing), ntRing);
     1139      //poly newNum= singclap_pdivide (NUM(f), DEN (f), ntRing);
     1140      //p_Delete(&NUM (f), ntRing);
     1141      //NUM (f)= newNum;
     1142      p_Delete(&DEN (f), ntRing);
     1143      DEN (f) = NULL;
     1144      COM (f) = 0;
     1145    } else if (nCoeff_is_Q(ntCoeffs)) handleNestedFractionsOverQ(f, cf);
    11371146  }
    11381147  else
Note: See TracChangeset for help on using the changeset viewer.