Changeset 80213c in git


Ignore:
Timestamp:
Apr 4, 2011, 2:39:48 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
07ae7c1cef0f5d1f44f19236d40d0b5000d52d7e
Parents:
2caede44bc1e423ef32297874f5a15517729e721
Message:
degree in posInS must be compatible with ordering

git-svn-id: file:///usr/local/Singular/svn/trunk@14088 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/kutil.cc

    r2caede4 r80213c  
    32353235  )
    32363236  {
    3237     int o=pWTotaldegree(p);
    3238     int oo=pWTotaldegree(set[length]);
     3237    int o=pDeg(p);
     3238    int oo=pDeg(set[length]);
    32393239
    32403240    if ((oo<o)
     
    32463246      if (an >= en-1)
    32473247      {
    3248         if ((pWTotaldegree(set[an])>=o) && (pLmCmp(set[an],p) == cmp_int))
     3248        if ((pDeg(set[an])>=o) && (pLmCmp(set[an],p) == cmp_int))
    32493249        {
    32503250          return an;
     
    32533253      }
    32543254      i=(an+en) / 2;
    3255       if ((pWTotaldegree(set[i])>=o) && (pLmCmp(set[i],p) == cmp_int)) en=i;
     3255      if ((pDeg(set[i])>=o) && (pLmCmp(set[i],p) == cmp_int)) en=i;
    32563256      else                              an=i;
    32573257    }
Note: See TracChangeset for help on using the changeset viewer.