Changeset 5c8e18f in git for libpolys/polys/ext_fields


Ignore:
Timestamp:
Jan 23, 2014, 2:22:22 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
8baa377f0e7bdff672abd5ddeade4e629a51e405
Parents:
616d68556ae75bb7c49364150bb827162c506899
Message:
fix: access to chinese remainder, normalization of results
File:
1 edited

Legend:

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

    r616d685 r5c8e18f  
    23832383  omFreeSize(X,rl*sizeof(number));
    23842384  omFreeSize(P,rl*sizeof(poly*));
     2385  if (p_IsConstant(DEN(result), ntRing)
     2386  && n_IsOne(pGetCoeff(DEN(result)), ntCoeffs))
     2387  {
     2388    p_Delete(&DEN(result),ntRing);
     2389  }
    23852390  return ((number)result);
    23862391}
Note: See TracChangeset for help on using the changeset viewer.