Changeset a60a21 in git
- Timestamp:
- May 19, 2006, 12:30:47 PM (17 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 11de3e8f11bec7f9b6008145cb455f4bff59972c
- Parents:
- 3738560c53e0c131ed96fee80506af636585777c
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/tgb.cc
r373856 ra60a21 5 5 * Computer Algebra System SINGULAR * 6 6 ****************************************/ 7 /* $Id: tgb.cc,v 1. 89 2006-05-18 14:40:39bricken Exp $ */7 /* $Id: tgb.cc,v 1.90 2006-05-19 10:30:47 bricken Exp $ */ 8 8 /* 9 9 * ABSTRACT: slimgb and F4 implementation … … 2097 2097 } 2098 2098 slimgb_alg::slimgb_alg(ideal I, int syz_comp,BOOLEAN F4){ 2099 2099 completed=FALSE; 2100 2100 this->syz_comp=syz_comp; 2101 2101 r=currRing; … … 2254 2254 } 2255 2255 slimgb_alg::~slimgb_alg(){ 2256 if (!(completed)){ 2257 int piter; 2258 for(piter=0;piter<=pair_top;piter++){ 2259 sorted_pair_node* s=apairs[piter]; 2260 if (s->i<0){ 2261 //delayed element 2262 add_to_basis_ideal_quotient(s->lcm_of_lm, this, NULL); 2263 2264 } 2265 free_sorted_pair_node(s,r); 2266 apairs[piter]=NULL; 2267 } 2268 } 2256 2269 id_Delete(&add_later,r); 2257 2270 int i,j; … … 2358 2371 // } 2359 2372 2360 2373 if (completed){ 2361 2374 for(i=0;i<c->n;i++) 2362 2375 { … … 2381 2394 } 2382 2395 } 2396 } 2383 2397 omfree(c->short_Exps); 2384 2398 … … 2424 2438 2425 2439 2426 while (c->pair_top>=0)2440 while ((c->pair_top>=0) && ((!(TEST_OPT_DEGBOUND)) || (c->apairs[c->pair_top]->deg<=Kstd1_deg))) 2427 2441 { 2428 2442 if(F4_mode) … … 2431 2445 go_on(c); 2432 2446 } 2447 if (c->pair_top<0) 2448 c->completed=TRUE; 2433 2449 I=c->S; 2434 2450 delete c; -
kernel/tgb_internal.h
r373856 ra60a21 5 5 * Computer Algebra System SINGULAR * 6 6 ****************************************/ 7 /* $Id: tgb_internal.h,v 1. 39 2006-05-18 14:40:40bricken Exp $ */7 /* $Id: tgb_internal.h,v 1.40 2006-05-19 10:30:47 bricken Exp $ */ 8 8 /* 9 9 * ABSTRACT: tgb internal .h file … … 147 147 int average_length; 148 148 BOOLEAN isDifficultField; 149 BOOLEAN completed; 149 150 BOOLEAN is_homog; 150 151
Note: See TracChangeset
for help on using the changeset viewer.