Changeset eecd53 in git


Ignore:
Timestamp:
Sep 27, 2011, 7:33:22 PM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
65b5a77b2199ad09546a232cdee6cd4fed8468bb
Parents:
9c79efdbfa9e07161b8b9c4ce598e1b0b476ccd1
Message:
try to normalize in multiplaction

git-svn-id: file:///usr/local/Singular/svn/trunk@14391 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/longtrans.cc

    r9c79ef reecd53  
    13581358  lo->n = x;
    13591359  lo->s = 0;
     1360  number luu=(number)lo;
    13601361  if(lo->z==NULL)
    13611362  {
     
    13651366  else if (lo->n!=NULL)
    13661367  {
    1367     number luu=(number)lo;
    13681368    // if (p_IsConstant(lo->n,nacRing)) ntCoefNormalize(luu);
    13691369    // else
     
    13711371    lo=(lnumber)luu;
    13721372  }
     1373  luu=(number)lo;
     1374  if ((lo!=NULL)
     1375  && (naMinimalPoly!=NULL)
     1376  &&(p_GetExp(lo->z,1,nacRing)>=p_GetExp(naMinimalPoly,1,nacRing)))
     1377    lo->z=napRemainder(lo->z,naMinimalPoly);
    13731378  //if (naMinimalPoly==NULL) lo->s=2;
    13741379  ntTest((number)lo);
Note: See TracChangeset for help on using the changeset viewer.