Changeset 271730 in git


Ignore:
Timestamp:
Mar 11, 2010, 9:51:15 AM (14 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
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.