Changeset 7ca3d2 in git


Ignore:
Timestamp:
May 7, 2003, 6:59:37 PM (21 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
2537bcce97e6db25dc0c6776942388017f955663
Parents:
9ca8f2da22a86787d3f9122d37aaff6398c3508b
Message:
*bricken: little tuning


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

Legend:

Unmodified
Added
Removed
  • Singular/tgb.cc

    r9ca8f2 r7ca3d2  
    876876
    877877     
    878       poly short_s=ksCreateShortSpoly(c->S->m[i],c->S->m[j],c->r);
    879       if (short_s)
    880       {
     878//      poly short_s=ksCreateShortSpoly(c->S->m[i],c->S->m[j],c->r);
     879      //    if (short_s)
     880      //    {
    881881        sorted_pair_node* s=(sorted_pair_node*) omalloc(sizeof(sorted_pair_node));
    882882        s->i=max(i,j);
    883883        s->j=min(i,j);
    884884        s->expected_length=c->lengths[i]+c->lengths[j]-2;
    885         s->deg=pTotaldegree(short_s);
     885     
    886886        poly lm=pOne();
    887887
    888888        pLcm(c->S->m[i], c->S->m[j], lm);
    889889        pSetm(lm);
     890        s->deg=pTotaldegree(lm);
    890891        s->lcm_of_lm=lm;
    891           pDelete(&short_s);
     892//          pDelete(&short_s);
    892893        //assume(lm!=NULL);
    893894        nodes[spc]=s;
    894895        spc++;
    895       }
    896       else
    897       {
    898         c->states[i][j]=HASTREP;
    899       }
     896        // }
     897        //else
     898        //{
     899        //c->states[i][j]=HASTREP;
     900        //}
    900901    }
    901902  }
Note: See TracChangeset for help on using the changeset viewer.