Changeset 7bd779 in git


Ignore:
Timestamp:
Apr 1, 2009, 9:17:02 PM (14 years ago)
Author:
Christian Eder
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
95a5d329460059206ad840fd798ce5fe36656f1f
Parents:
2b7bb5d62530e14bffcd668b38aba478016be940
Message:
smaller updates in reduction() & topReduction()


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

Legend:

Unmodified
Added
Removed
  • kernel/f5gb.cc

    r2b7bb5d r7bd779  
    660660    //Print("##########################################In topREDUCTION!########################################\n");
    661661    // try l as long as there are reductors found by findReductor()
     662    LNode* gPrevRedCheck    =   new LNode(lTag->getFirstCurrentIdx());
     663    LNode* tempRed          =   new LNode();
    662664    do {
    663         LNode* gPrevRedCheck    =   new LNode(lTag->getFirstCurrentIdx());
    664         LNode* tempRed          =   new LNode();
    665665        tempRed  =   findReductor(l,gPrevRedCheck,gPrev,rules,lTag,rTag);
    666666        // if a reductor for l is found and saved in tempRed
     
    675675                if(NULL != temp) {
    676676                    pNorm(temp);
    677                     tempRed->setPoly(temp);
    678                     tempRed->setDel(1);
     677                    //tempRed->setPoly(temp);
     678                    //tempRed->setDel(1);
    679679                    rules->insert(tempRed->getIndex(),tempRed->getTerm());
    680                     tempRed->getLPoly()->setRule(rules->getFirst()->getRule());
    681                     sPolyList->insertByLabel(tempRed);
     680                    LNode* tempRedNew   =   new LNode(tempRed->getTerm(),tempRed->getIndex(),temp,rules->getFirst()->getRule());
     681                    //tempRed->getLPoly()->setRule(rules->getFirst()->getRule());
     682                    tempRedNew->setDel(1);
     683                    sPolyList->insertByLabel(tempRedNew);
    682684                }
    683685                else {
Note: See TracChangeset for help on using the changeset viewer.