Changeset ecd2adc in git


Ignore:
Timestamp:
Oct 5, 2004, 6:56:31 PM (20 years ago)
Author:
Michael Brickenstein <bricken@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
Children:
50d98afac8bf1718a9f7ae9b6e26c6571896e8a0
Parents:
6a0cc836ea6375ae5499e0c2c6a212e2737ce938
Message:
*bricken: removed a few debug blocks


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

Legend:

Unmodified
Added
Removed
  • Singular/tgb.cc

    r6a0cc83 recd2adc  
    25742574
    25752575    }
    2576 #ifdef TGB_DEBUG
    2577   {
    2578   int last=-1;
    2579   for(i=0;i<pn;i++)
    2580   {
    2581     int act=mat->min_col_not_zero_in_row(i);
    2582     assume(act>last);
    2583    
    2584   }
    2585   for(i=pn;i<mat->get_rows();i++)
    2586   {
    2587     assume(mat->zero_row(i));
    2588    
    2589   }
    2590  
    2591 
    2592   }
    2593 #endif
     2576
    25942577    mat->perm_rows(row,found_in_row);
    25952578    int h=row_cache[row];
    25962579    row_cache[row]=row_cache[found_in_row];
    25972580    row_cache[found_in_row]=h;
    2598 #ifdef TGB_DEBUG
    2599   {
    2600   int last=-1;
    2601   for(i=0;i<pn;i++)
    2602   {
    2603     int act=mat->min_col_not_zero_in_row(i);
    2604     assume(act>last);
    2605    
    2606   }
    2607   for(i=pn;i<mat->get_rows();i++)
    2608   {
    2609     assume(mat->zero_row(i));
    2610    
    2611   }
    2612  
    2613 
    2614   }
    2615 #endif 
     2581
    26162582    //reduction
    26172583    for(i=row+1;i<pn;i++){
     
    26392605      assume(mat->min_col_not_zero_in_row(i)>col);
    26402606    }
    2641 #ifdef TGB_DEBUG
    2642   {
    2643   int last=-1;
    2644   for(i=0;i<pn;i++)
    2645   {
    2646     int act=mat->min_col_not_zero_in_row(i);
    2647     assume(act>last);
    2648    
    2649   }
    2650   for(i=pn;i<mat->get_rows();i++)
    2651   {
    2652     assume(mat->zero_row(i));
    2653    
    2654   }
    2655  
    2656 
    2657   }
    2658 #endif
     2607
    26592608    for(i=row+1;i<pn;i++)
    26602609    {
     
    26922641    row++;
    26932642  }
    2694 #ifdef TGB_DEBUG
    2695   {
    2696   int last=-1;
    2697   for(i=0;i<pn;i++)
    2698   {
    2699     int act=mat->min_col_not_zero_in_row(i);
    2700     assume(act>last);
    2701    
    2702   }
    2703   for(i=pn;i<mat->get_rows();i++)
    2704   {
    2705     assume(mat->zero_row(i));
    2706    
    2707   }
    2708  
    2709 
    2710   }
    2711 #endif
     2643
    27122644  omfree(row_cache);
    27132645}
Note: See TracChangeset for help on using the changeset viewer.