Changeset b757d6 in git
 Timestamp:
 Mar 16, 2011, 4:59:03 PM (12 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
 Children:
 a50dd10b43b308045bb85fb3ef03438d27949214
 Parents:
 576cbf1b2b6bc899f00a60e368537b515b51b536
 gitauthor:
 Hans Schoenemann <hannes@mathematik.unikl.de>20110316 16:59:03+01:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 12:01:07+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

libpolys/polys/polys0.cc
r576cbf rb757d6 25 25 26 26 if (pGetCoeff(p)!=NULL) 27 n_Normalize(pGetCoeff(p),r );27 n_Normalize(pGetCoeff(p),r>cf); 28 28 29 29 if (((p_GetComp(p,r) == (short)ko) 30 30 &&(p_LmIsConstantComp(p, r))) 31  ((!n_IsOne(pGetCoeff(p),r ))32 && (!n_IsMOne(pGetCoeff(p),r ))31  ((!n_IsOne(pGetCoeff(p),r>cf)) 32 && (!n_IsMOne(pGetCoeff(p),r>cf)) 33 33 ) 34 34 ) 35 35 { 36 n_Write(p>coef,r );36 n_Write(p>coef,r>cf); 37 37 wroteCoef=(rShortOut(r) == FALSE) 38 38  (r>parameter!=NULL) … … 40 40 writeGen=TRUE; 41 41 } 42 else if (n_IsMOne(pGetCoeff(p),r ))42 else if (n_IsMOne(pGetCoeff(p),r>cf)) 43 43 { 44 if (n_GreaterZero(pGetCoeff(p),r ))44 if (n_GreaterZero(pGetCoeff(p),r>cf)) 45 45 { 46 n_Write(p>coef,r );46 n_Write(p>coef,r>cf); 47 47 wroteCoef=(rShortOut(r) == FALSE) 48 48  (r>parameter!=NULL) … … 55 55 56 56 int i; 57 for (i=0; i<r >N; i++)57 for (i=0; i<rVar(r); i++) 58 58 { 59 59 { … … 95 95 while (p!=NULL) 96 96 { 97 if ((p>coef==NULL)n_GreaterZero(p>coef,tailRing ))97 if ((p>coef==NULL)n_GreaterZero(p>coef,tailRing>cf)) 98 98 StringAppendS("+"); 99 99 writemon(p,0, tailRing); … … 116 116 while ((p!=NULL) && (k == p_GetComp(p, tailRing))) 117 117 { 118 if (n_GreaterZero(p>coef,tailRing )) StringAppendS("+");118 if (n_GreaterZero(p>coef,tailRing>cf)) StringAppendS("+"); 119 119 writemon(p,k,tailRing); 120 120 pIter(p);
Note: See TracChangeset
for help on using the changeset viewer.