Changeset 271730 in git for kernel


Ignore:
Timestamp:
Mar 11, 2010, 9:51:15 AM (14 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
8e9b2432dca37f7a38575552109279486869c89e
Parents:
d07546b396be43cc23fe3dc01eb109d7682c6492
Message:
changed previous bug fix (which did not work for some of the slimgb instances): fix is now active in the ring case, only

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

Legend:

Unmodified
Added
Removed
  • kernel/kbuckets.cc

    rd07546 r271730  
    585585#ifdef USE_COEF_BUCKETS
    586586      if (i<coef_start)
    587       {
    588587        bucket->buckets[i] = p_Mult_nn(bucket->buckets[i], n, r);
    589588#ifdef HAVE_RINGS
     589        /* Frank Seelisch on March 11, 2010:
     590           This looks a bit strange: The following "if" is indented
     591           like the previous line of code. But coded as it is,
     592           it should actually be two spaces less indented.
     593           Question: Should the following "if" also only be
     594           performed when "(i<coef_start)" is true?
     595           For the time being, I leave it as it is. */
    590596        if (rField_is_Ring(r) && !(rField_is_Domain(r))) {
    591597          bucket->buckets_length[i] = pLength(bucket->buckets[i]);
     
    593599        }
    594600#endif
    595       }
    596601      else
    597602      if (bucket->coef[i]!=NULL)
     
    11141119    {
    11151120      kBucket_Mult_n(bucket, an);
     1121#ifdef HAVE_RINGS
    11161122      lm = p_Mult_nn(lm, an, bucket->bucket_ring);
     1123#endif
    11171124    }
    11181125    rn = an;
Note: See TracChangeset for help on using the changeset viewer.