Changeset 20c540 in git for libpolys/polys/clapconv.cc


Ignore:
Timestamp:
Oct 4, 2012, 7:47:33 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
db347cb0bbec256ffb358817738b700f8da08253
Parents:
dc79bd7d1e331302a1fc20150a37e81890e6300a
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-10-04 19:47:33+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-10-05 19:05:33+02:00
Message:
Preparing the removal of Frank's p_Monic/p_Gcd/p_ExtGcd from common use

chg: moved most of the functions (with helpers) into algext.cc and made them static

NOTE: p_PolyDiv stayed in p_polys.cc as it is used in convFactoryASingA
NOTE: p_ExtGcd also is made public via algext.h (needed elsewhere?)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapconv.cc

    rdc79bd r20c540  
    290290  if (a!=NULL)
    291291  {
    292     if (r->cf->extRing->qideal->m[0]!=NULL)
    293     {
    294       poly l=r->cf->extRing->qideal->m[0];
    295       if (p_GetExp(a,1,r->cf->extRing) >= p_GetExp(l,1,r->cf->extRing))
    296         a = p_PolyDiv (a, l, FALSE, r->cf->extRing);
    297     }
     292    if( r->cf->extRing != NULL )
     293      if (r->cf->extRing->qideal->m[0]!=NULL)
     294      {
     295        poly l=r->cf->extRing->qideal->m[0];
     296        if (p_GetExp(a,1,r->cf->extRing) >= p_GetExp(l,1,r->cf->extRing))
     297          a = p_PolyDiv (a, l, FALSE, r->cf->extRing); // ???
     298      }
    298299  }
    299300  return a;
Note: See TracChangeset for help on using the changeset viewer.