Changeset d30a399 in git for libpolys/polys


Ignore:
Timestamp:
Oct 19, 2012, 9:59:20 AM (12 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8710ff0734063b049b29453b8d06161041fffbc7b37b3984a12e1552c7bafc9fd5a7849240ea7980
Parents:
f2359093b446e8c68c3bda0f0484c4dbf7bd93a8
Message:
chg: option handling: test,verbose renamed to si_opt_1,si_opt_2
Location:
libpolys/polys/monomials
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    rf23590 rd30a399  
    246246          const int limit = o->data.syz.limit;
    247247
    248           if (c > limit)
     248          if (c > (unsigned long)limit)
    249249            p->exp[place] = o->data.syz.curr_index;
    250250          else if (c > 0)
    251251          {
    252             assume( (1 <= c) && (c <= limit) );
     252            assume( (1 <= c) && (c <= (unsigned long)limit) );
    253253            p->exp[place]= o->data.syz.syz_index[c];
    254254          }
     
    530530  p_LmCheckPolyRing(p, r);
    531531  int i, k;
    532   int pIS = 0;
    533532  long j =0;
    534533
     
    19141913  assume( ph != NULL );
    19151914
    1916   assume( r != NULL ); assume( r->cf != NULL ); const coeffs C = r->cf;
     1915  assume( r != NULL ); assume( r->cf != NULL );
    19171916
    19181917
     
    19201919  if( 0 )
    19211920  {
     1921    const coeffs C = r->cf;
    19221922      // experimentall (recursive enumerator treatment) of alg. Ext!
    19231923    CPolyCoeffsEnumerator itr(ph);
     
    19771977      n_ClearContent(itr, r->cf);
    19781978
    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)); // ??
    19811981     
    19821982      // if(!n_GreaterZero(pGetCoeff(ph),r->cf)) ph = p_Neg(ph,r);
  • libpolys/polys/monomials/ring.cc

    rf23590 rd30a399  
    34303430  if (complete)
    34313431  {
    3432     test &= ~ TEST_RINGDEP_OPTS;
    3433     test |= r->options;
     3432    si_opt_1 &= ~ TEST_RINGDEP_OPTS;
     3433    si_opt_1 |= r->options;
    34343434  }
    34353435}
  • libpolys/polys/monomials/ring.h

    rf23590 rd30a399  
    659659  if( ret )
    660660  {
    661     const ring R = C->extRing;
    662     assume( R != NULL );
     661    assume( (C->extRing) != NULL );
    663662    BOOLEAN idIs0 (ideal h);
    664     assume( !idIs0(R->qideal) );
     663    assume((!((C->extRing)->qideal==NULL)) && (!idIs0((C->extRing)->qideal)));
    665664  }
    666665
Note: See TracChangeset for help on using the changeset viewer.