Changeset bfeed6 in git


Ignore:
Timestamp:
Nov 26, 2012, 5:15:23 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '79dfb9a6d258bfeb991428bdb25b8f55e9e809b2')
Children:
91c7251b522fe5741414bc172467ac24df89485d
Parents:
c4138f219380e1837aed8b4bcdfc42c73bee603b
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-26 17:15:23+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:48+02:00
Message:
Additional initializations for buckets (for unusual entry points)

TODO: remove these 'if'-s
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/syzextra.cc

    rc4138f rbfeed6  
    961961
    962962  assume( c >= 0 && c < IDELEMS(T) );
     963
     964  if( m_sum_bucket == NULL )
     965    m_sum_bucket = sBucketCreate(r);
     966
     967  if( m_spoly_bucket == NULL )
     968    m_spoly_bucket = kBucketCreate(r);
     969
    963970  sBucket_pt& tail   = m_sum_bucket; assume( tail != NULL );
    964971  kBucket_pt& bucket = m_spoly_bucket; assume( bucket != NULL ); kbTest(bucket);
     
    10541061  {
    10551062//    const bool bUsePolynomial = TEST_OPT_NOT_BUCKETS; //  || (pLength(tail) < MIN_LENGTH_BUCKET);
     1063    if( m_sum_bucket == NULL )
     1064      m_sum_bucket = sBucketCreate(r);
     1065
    10561066    sBucket_pt& sum   = m_sum_bucket; assume( sum != NULL );
    10571067    poly s; int len;
Note: See TracChangeset for help on using the changeset viewer.