Changeset 0803a18 in git for libpolys/polys/sbuckets.cc


Ignore:
Timestamp:
Feb 15, 2018, 3:17:05 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
872770d85b8c1589fd473a5169ad340d47aefe15926aa7f3d68faa82efc28a596d044e5637684b16
Parents:
d4ff07b1ff82ac42ad104abc1b075ce4f177ac87
Message:
for SAGE: LOG2 -> SI_LOG2
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/sbuckets.cc

    rd4ff07 r0803a18  
    145145    bucket->buckets[i].length = 0;
    146146    i++;
    147     assume(LOG2(length) == i);
     147    assume(SI_LOG2(length) == i);
    148148  }
    149149
     
    161161  if (length <= 0) length = pLength(p);
    162162
    163   int i = LOG2(length);
     163  int i = SI_LOG2(length);
    164164
    165165  while (bucket->buckets[i].p != NULL)
     
    170170    bucket->buckets[i].length = 0;
    171171    i++;
    172     assume(LOG2(length) == i);
     172    assume(SI_LOG2(length) == i);
    173173  }
    174174
     
    185185  int length = 1;
    186186
    187   int i = 0; //LOG2(length);
     187  int i = 0; //SI_LOG2(length);
    188188
    189189  while (bucket->buckets[i].p != NULL)
     
    200200      return;
    201201    }
    202     i = LOG2(length);
     202    i = SI_LOG2(length);
    203203  }
    204204
     
    216216  if (length <= 0) length = pLength(p);
    217217
    218   int i = LOG2(length);
     218  int i = SI_LOG2(length);
    219219
    220220  while (bucket->buckets[i].p != NULL)
     
    231231      return;
    232232    }
    233     i = LOG2(length);
     233    i = SI_LOG2(length);
    234234  }
    235235
Note: See TracChangeset for help on using the changeset viewer.