Changeset 803cb2d in git


Ignore:
Timestamp:
Mar 5, 2013, 5:30:10 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '5a0dde71de01068fad5736a17555c993ecbbf495')
Children:
d5a330ab1c423ea119367c33b67f155b398bfa16
Parents:
e5c9e5dbb80128bf16b1133a4ea7441e35faa79d
Message:
chg: opt. (not computing log(l1) if l1 is unchanged)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/kbuckets.cc

    re5c9e5 r803cb2d  
    594594           For the time being, I leave it as it is. */
    595595        if (rField_is_Ring(r) && !(rField_is_Domain(r)))
    596         {
     596        {
    597597          bucket->buckets_length[i] = pLength(bucket->buckets[i]);
    598598          kBucketAdjust(bucket, i);
     
    741741    {
    742742      l1 = pLength(p1);
    743       assume(pLength(p1) == l1);
     743      i = pLogLength(l1);
    744744    }
    745745#endif
     
    748748    {
    749749      l1 = pLength(p1);
    750       assume(pLength(p1) == l1);
    751     }
    752 #endif
    753     i = pLogLength(l1);
     750      i = pLogLength(l1);
     751    }
     752#endif
    754753  }
    755754  else
     
    10981097  {
    10991098    number an = pGetCoeff(p1), bn = pGetCoeff(lm);
    1100 //StringSetS("##### an = "); nWrite(an); PrintS(StringEndS("\n")); // NOTE/TODO: use StringAppendS("\n"); omFree(s); 
    1101 //StringSetS("##### bn = "); nWrite(bn); PrintS(StringEndS("\n")); // NOTE/TODO: use StringAppendS("\n"); omFree(s); 
     1099//StringSetS("##### an = "); nWrite(an); PrintS(StringEndS("\n")); // NOTE/TODO: use StringAppendS("\n"); omFree(s);
     1100//StringSetS("##### bn = "); nWrite(bn); PrintS(StringEndS("\n")); // NOTE/TODO: use StringAppendS("\n"); omFree(s);
    11021101    /* ksCheckCoeff: divide out gcd from an and bn: */
    11031102    int ct = ksCheckCoeff(&an, &bn,r->cf);
Note: See TracChangeset for help on using the changeset viewer.