Changeset c481b8 in git


Ignore:
Timestamp:
Feb 24, 2006, 8:25:34 AM (18 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9c6d49554ae6de78686962450083ecb4df5d9cd6
Parents:
c72471e62710d737a6a64bb0569be9c2fc77b65f
Message:
*bricken: lastchange now only active at TGB_RESORT_PAIRS


git-svn-id: file:///usr/local/Singular/svn/trunk@8979 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/tgb.cc

    rc72471 rc481b8  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb.cc,v 1.70 2006-02-24 06:55:04 bricken Exp $ */
     7/* $Id: tgb.cc,v 1.71 2006-02-24 07:25:33 bricken Exp $ */
    88/*
    99* ABSTRACT: slimgb and F4 implementation
     
    15921592    return;
    15931593  }
     1594  #ifdef TGB_RESORT_PAIRS
    15941595  c->replaced=new bool[c->n];
    15951596  c->used_b=FALSE;
    1596  
     1597  #endif
    15971598  red_object* buf=(red_object*) omalloc(i*sizeof(red_object));
    15981599  c->normal_forms+=i;
     
    16241625#endif
    16251626  multi_reduction(buf, i, c);
     1627  #ifdef TGB_RESORT_PAIRS
    16261628  if (c->used_b) {
    16271629    if (TEST_OPT_PROT)
     
    16381640    qsort(c->apairs,c->pair_top+1,sizeof(sorted_pair_node*),tgb_pair_better_gen2);
    16391641  }
     1642  #endif
    16401643#ifdef TGB_DEBUG
    16411644 {
     
    17471750    id_Delete(&add2, c->r);
    17481751  }
     1752  #ifdef TGB_RESORT_PAIRS
    17491753  delete c->replaced;
    17501754  c->replaced=NULL;
    17511755  c->used_b=FALSE;
     1756  #endif
    17521757  return;
    17531758}
     
    27782783    if(pos_in_c>=0)
    27792784    {
     2785      #ifdef TGB_RESORT_PAIRS
    27802786      c->used_b=TRUE;
    27812787      c->replaced[pos_in_c]=TRUE;
     2788      #endif
    27822789      c->S->m[pos_in_c]=clear_into;
    27832790      c->lengths[pos_in_c]=new_length;
  • kernel/tgb_internal.h

    rc72471 rc481b8  
    55*  Computer Algebra System SINGULAR     *
    66****************************************/
    7 /* $Id: tgb_internal.h,v 1.27 2006-02-24 06:55:05 bricken Exp $ */
     7/* $Id: tgb_internal.h,v 1.28 2006-02-24 07:25:34 bricken Exp $ */
    88/*
    99 * ABSTRACT: tgb internal .h file
     
    120120  BOOLEAN* modifiedS;
    121121  #endif
     122  #ifdef TGB_RESORT_PAIRS
    122123  bool* replaced;
    123  
     124  #endif
    124125  poly_list_node* to_destroy;
    125126  //for F4
     
    149150  BOOLEAN F4_mode;
    150151  BOOLEAN nc;
     152  #ifdef TGB_RESORT_PAIRS
    151153  BOOLEAN used_b;
     154  #endif
    152155};
    153156class red_object{
Note: See TracChangeset for help on using the changeset viewer.