Changeset c9eaea8 in git


Ignore:
Timestamp:
Jun 23, 2010, 6:27:36 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '45e267b9942dec9429fe249ce3e5e44ab80a6a3a')
Children:
367c32c04974ca61043baa01913d56a5dbf0ca2e
Parents:
d3167755899d01a2449dd2ff2effc3a120b79b62
Message:
pSetOrder removed

git-svn-id: file:///usr/local/Singular/svn/trunk@12900 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • kernel/pInline2.h

    rd316775 rc9eaea8  
    6262}
    6363
    64 PINLINE2 long p_SetOrder(poly p, long o, ring r)
    65 {
    66   p_LmCheckPolyRing2(p, r);
    67   pAssume2(o >= 0);
    68   if (r->typ==NULL) return ((p)->exp[r->pOrdIndex]=o);
    69   int i=0;
    70   loop
    71   {
    72     switch(r->typ[i].ord_typ)
    73     {
    74       case ro_wp_neg:
    75         return (p)->exp[r->pOrdIndex]=o+POLY_NEGWEIGHT_OFFSET;
    76       case ro_syzcomp:
    77       case ro_syz:  case ro_isTemp: case ro_is:
    78       case ro_cp:
    79         i++;
    80         break;
    81       //case ro_dp:
    82       //case ro_wp:
    83       default:
    84         return (p)->exp[r->pOrdIndex] = o;
    85     }
    86   }
    87 }
    88 
    8964// Setm
    9065PINLINE2 void p_Setm(poly p, const ring r)
  • kernel/p_polys.h

    rd316775 rc9eaea8  
    6868// get Order
    6969PINLINE2 long p_GetOrder(poly p, ring r);
    70 // don't use this
    71 PINLINE2 long p_SetOrder(poly p, long order, ring r);
    7270
    7371// Component
  • kernel/polys.h

    rd316775 rc9eaea8  
    5959// Order
    6060#define pGetOrder(p)        p_GetOrder(p, currRing)
    61 // don't use this
    62 #define pSetOrder(p, o)     p_SetOrder(p, o, currRing)
    6361
    6462// Component
  • kernel/syz1.cc

    rd316775 rc9eaea8  
    12381238        tso.lcm = p = nPm[ii];
    12391239        nPm[ii] = NULL;
    1240         //#ifdef HAVE_SHIFTED_EXPONENTS
    1241         //tso.order = pTotaldegree(p);
    1242         //p->exp[currRing->pOrdIndex]=tso.order+0x40000000;
    1243         //#else
    12441240        tso.order = pTotaldegree(p);
    1245         pSetOrder(p, tso.order);
    1246         //#endif
    12471241        if ((syzstr->cw!=NULL) && (index>0) && (pGetComp(q)>0))
    12481242        {
Note: See TracChangeset for help on using the changeset viewer.