Changeset d8946a4 in git


Ignore:
Timestamp:
Sep 9, 2015, 8:07:18 PM (8 years ago)
Author:
Stephan Oberfranz <oberfran@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
fcf18ffbaf4c9d71286ca608a7909d5071b3e54e
Parents:
b430ca2b1337f52e1932f689e451e9abb002ec4a510257fc6c7ff9c0c28e81f62f6fe06e63f024f8
Message:
update

Merge branch 'spielwiese' of github.com:oberfran/Sources into spielwiese
Files:
3 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • Tst/Short/ok_s.lst

    rb430ca rd8946a4  
    4949bug_732
    5050bug_tr735
     51bug_tr739
    5152bug_genus_etc
    5253conv_bi
  • factory/cfCharSets.cc

    rb430ca rd8946a4  
    546546          qs= facAlgFunc2 (i.getItem(), as);
    547547          if (qs.length() > 0)
    548           {
    549             if (qs.getFirst().factor().inCoeffDomain())
     548          {
     549            if (qs.getFirst().factor().inCoeffDomain())
    550550              qs.removeFirst();
    551551            if (qs.length() > 1 || qs.getFirst().exp() > 1)
     
    555555              break;
    556556            }
    557           }
     557          }
    558558        }
    559559      }
  • factory/facAlgFuncUtil.cc

    rb430ca rd8946a4  
    203203  {
    204204    ASSERT (F.deriv().isZero(), "derivative of F is not zero");
    205     int termCount=0;
    206205    CFIterator i= F;
     206    int g= 0;
    207207    for (; i.hasTerms(); i++)
    208     {
    209       if (i.exp() != 0)
    210         termCount++;
    211     }
    212 
    213     int j= 1;
    214     i= F;
    215     for (;j < termCount; j++, i++)
    216       ;
    217 
    218     int exp= i.exp();
     208        g= igcd (g, i.exp());
     209
    219210    int count= 0;
    220211    int p= getCharacteristic();
    221     while ((exp >= p) && (exp != 0) && (exp % p == 0))
    222     {
    223       exp /= p;
     212    while ((g >= p) && (g != 0) && (g % p == 0))
     213    {
     214      g /= p;
    224215      count++;
    225216    }
Note: See TracChangeset for help on using the changeset viewer.