Changeset 4fee0ed in git


Ignore:
Timestamp:
Jul 23, 2012, 4:36:21 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
8681bf84c636b8f6dc4a144d33450d09a28c5154
Parents:
8a30b16f7366d41b6243988673b9dc25cb0da4a5
git-author:
Martin Lee <martinlee84@web.de>2012-07-23 16:36:21+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-04 17:25:37+02:00
Message:
chg: order variables by size of the leading coefficient
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.cc

    r8a30b1 r4fee0ed  
    140140    while( degsf[i] == 0 ) i++;
    141141    swap[n][0]= i;
    142     swap[n][1]= degsf[i];
     142    swap[n][1]= size (LC (F,i));
    143143    if (i != n)
    144144      result= swapvar (result, Variable (n), Variable(i));
     
    153153    for (int j= 1; j < n - i + 1; j++)
    154154    {
    155       if (swap[j][1] < swap[j + 1][1])
     155      if (swap[j][1] > swap[j + 1][1])
    156156      {
    157157        buf1= swap [j + 1] [0];
Note: See TracChangeset for help on using the changeset viewer.