Changeset 6f3273 in git for libpolys/polys/simpleideals.cc


Ignore:
Timestamp:
Apr 13, 2011, 3:15:42 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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)
File:
1 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  }
Note: See TracChangeset for help on using the changeset viewer.