Changeset 7f96f2 in git
- Timestamp:
- Jul 30, 2001, 10:48:36 AM (22 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- fa01b75313d60b772595052a5fd57fb8c2ec49e2
- Parents:
- 0b5f43b241273a85beeb00e27706018ee704a303
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ring.cc
r0b5f43 r7f96f2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.16 7 2001-07-30 08:02:39 mschulzeExp $ */4 /* $Id: ring.cc,v 1.168 2001-07-30 08:48:36 Singular Exp $ */ 5 5 6 6 /* … … 128 128 { 129 129 sLastPrinted.CleanUp(); 130 memset(&sLastPrinted,0,sizeof(sleftv)); 130 131 } 131 132 … … 146 147 { 147 148 sLastPrinted.CleanUp(); 149 memset(&sLastPrinted,0,sizeof(sleftv)); 148 150 } 149 151 … … 2030 2032 2031 2033 // return TRUE if p->exp[r->pOrdIndex] holds total degree of p */ 2032 BOOLEAN rOrd_is_Totaldegree_Ordering(ring r =currRing)2034 BOOLEAN rOrd_is_Totaldegree_Ordering(ring r) 2033 2035 { 2034 2036 // Hmm.... what about Syz orderings? … … 2737 2739 case ringorder_ws: 2738 2740 case ringorder_Ws: 2739 { 2740 if (r->wvhdl[o]!=NULL) 2741 { 2742 int i; 2743 for(i=r->block1[o]-r->block0[o];i>=0;i--) 2744 if (r->wvhdl[o][i]<0) { r->MixedOrder=TRUE; break; } 2745 } 2741 if (r->wvhdl[o]!=NULL) 2742 { 2743 int i; 2744 for(i=r->block1[o]-r->block0[o];i>=0;i--) 2745 if (r->wvhdl[o][i]<0) { r->MixedOrder=TRUE; break; } 2746 2746 } 2747 2747 break; … … 3442 3442 if (r->VarOffset==NULL) PrintS(" NULL\n"); 3443 3443 else 3444 for(j=0;j<=r->N;j++)3445 3446 3444 for(j=0;j<=r->N;j++) 3445 Print(" v%d at e-pos %d, bit %d\n", 3446 j,r->VarOffset[j] & 0xffffff, r->VarOffset[j] >>24); 3447 3447 Print("divmask=%p\n", r->divmask); 3448 3448 PrintS("ordsgn:\n"); … … 3926 3926 LL->m[i].rtyp=STRING_CMD; 3927 3927 LL->m[i].data=(void *)omStrDup(r->names[i]); 3928 } 3928 } 3929 3929 // ---------------------------------------- 3930 3930 LL=(lists)omAlloc0Bin(slists_bin); … … 3963 3963 default: /* do nothing */; 3964 3964 } 3965 } 3965 } 3966 3966 LL->m[i].data=(void *)LLL; 3967 3967 }
Note: See TracChangeset
for help on using the changeset viewer.