Changeset d30a399 in git for libpolys/polys
- Timestamp:
- Oct 19, 2012, 9:59:20 AM (12 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 8710ff0734063b049b29453b8d06161041fffbc7b37b3984a12e1552c7bafc9fd5a7849240ea7980
- Parents:
- f2359093b446e8c68c3bda0f0484c4dbf7bd93a8
- Location:
- libpolys/polys/monomials
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/p_polys.cc
rf23590 rd30a399 246 246 const int limit = o->data.syz.limit; 247 247 248 if (c > limit)248 if (c > (unsigned long)limit) 249 249 p->exp[place] = o->data.syz.curr_index; 250 250 else if (c > 0) 251 251 { 252 assume( (1 <= c) && (c <= limit) );252 assume( (1 <= c) && (c <= (unsigned long)limit) ); 253 253 p->exp[place]= o->data.syz.syz_index[c]; 254 254 } … … 530 530 p_LmCheckPolyRing(p, r); 531 531 int i, k; 532 int pIS = 0;533 532 long j =0; 534 533 … … 1914 1913 assume( ph != NULL ); 1915 1914 1916 assume( r != NULL ); assume( r->cf != NULL ); const coeffs C = r->cf;1915 assume( r != NULL ); assume( r->cf != NULL ); 1917 1916 1918 1917 … … 1920 1919 if( 0 ) 1921 1920 { 1921 const coeffs C = r->cf; 1922 1922 // experimentall (recursive enumerator treatment) of alg. Ext! 1923 1923 CPolyCoeffsEnumerator itr(ph); … … 1977 1977 n_ClearContent(itr, r->cf); 1978 1978 1979 p_Test(ph, r); n_Test(pGetCoeff(ph), C);1980 assume(n_GreaterZero(pGetCoeff(ph), C)); // ??1979 p_Test(ph, r); n_Test(pGetCoeff(ph), r->cf); 1980 assume(n_GreaterZero(pGetCoeff(ph), r->cf)); // ?? 1981 1981 1982 1982 // if(!n_GreaterZero(pGetCoeff(ph),r->cf)) ph = p_Neg(ph,r); -
libpolys/polys/monomials/ring.cc
rf23590 rd30a399 3430 3430 if (complete) 3431 3431 { 3432 test&= ~ TEST_RINGDEP_OPTS;3433 test|= r->options;3432 si_opt_1 &= ~ TEST_RINGDEP_OPTS; 3433 si_opt_1 |= r->options; 3434 3434 } 3435 3435 } -
libpolys/polys/monomials/ring.h
rf23590 rd30a399 659 659 if( ret ) 660 660 { 661 const ring R = C->extRing; 662 assume( R != NULL ); 661 assume( (C->extRing) != NULL ); 663 662 BOOLEAN idIs0 (ideal h); 664 assume( !idIs0(R->qideal));663 assume((!((C->extRing)->qideal==NULL)) && (!idIs0((C->extRing)->qideal))); 665 664 } 666 665
Note: See TracChangeset
for help on using the changeset viewer.