Changeset 6f3273 in git


Ignore:
Timestamp:
Apr 13, 2011, 3:15:42 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
2e7dee867c4d33510424b140e95164e94fb8ef8b
Parents:
3d0808a0883526b5a109b328ba27a2254b43eb2c
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-04-13 15:15:42+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:12:31+01:00
Message:
fix BOOLEAN id_IsConstant(ideal id, const ri ng r)
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.cc

    r3d0808 r6f3273  
    345345*test if the ideal has only constant polynomials
    346346*/
    347 BOOLEAN idIsConstant(ideal id)
     347BOOLEAN id_IsConstant(ideal id, const ri ng r)
    348348{
    349349  int k;
    350350  for (k = IDELEMS(id)-1; k>=0; k--)
    351351  {
    352     if (pIsConstantPoly(id->m[k]) == FALSE)
     352    if (!p_IsConstantPoly(id->m[k],r))
    353353      return FALSE;
    354354  }
  • libpolys/polys/simpleideals.h

    r3d0808 r6f3273  
    101101void id_DelLmEquals(ideal id, const ring r);
    102102void id_DelDiv(ideal id, const ring r);
     103BOOLEAN id_IsConstant(ideal id, const ri ng r);
     104
    103105
    104106#endif
Note: See TracChangeset for help on using the changeset viewer.