Changeset a28cb4f in git for libpolys/polys


Ignore:
Timestamp:
May 23, 2012, 5:40:49 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
5998134399af73455bd45b86419f1c2d580ea52d
Parents:
ebbb9c021139eb2de39769f50c7f00762df8fc33
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-23 17:40:49+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-05-23 18:07:33+02:00
Message:
fix: bug: rOrd_SetCompRequiresSetm was missing 'am'
chg: minor cleanup of p_SetCompP

From: Hans Schoenemann <hannes@mathematik.uni-kl.de>
Location:
libpolys/polys/monomials
Files:
2 edited

Legend:

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

    rebbb9c ra28cb4f  
    258258  return c;
    259259}
    260 // sets component of poly a to i, returns length of p
     260// sets component of poly a to i
    261261static inline   void p_SetCompP(poly p, int i, ring r)
    262262{
     
    264264  {
    265265#ifdef PDEBUG
    266     poly q = p;
    267     int l = 0;
    268 #endif
    269 
     266    p_Test(p, r);
     267#endif
    270268    if (rOrd_SetCompRequiresSetm(r))
    271269    {
     
    274272        p_SetComp(p, i, r);
    275273        p_SetmComp(p, r);
    276 #ifdef PDEBUG
    277         l++;
    278 #endif
    279274        pIter(p);
    280275      }
     
    286281      {
    287282        p_SetComp(p, i, r);
    288 #ifdef PDEBUG
    289         l++;
    290 #endif
    291283        pIter(p);
    292284      }
    293285      while(p != NULL);
    294286    }
    295 #ifdef PDEBUG
    296     p_Test(q, r);
    297     assume(l == pLength(q));
    298 #endif
    299287  }
    300288}
  • libpolys/polys/monomials/ring.cc

    rebbb9c ra28cb4f  
    19301930          || (o->ord_typ == ro_syz)
    19311931          || (o->ord_typ == ro_is)
     1932          || (o->ord_typ == ro_am)
    19321933          || (o->ord_typ == ro_isTemp))
    19331934        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.