Changeset d76b58 in git
- Timestamp:
- Apr 3, 2007, 5:16:39 PM (17 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- 9d7c017a79e5d3272ee273750210ac7b1d3b368b
- Parents:
- f07b7f501de2ad2471b3ede6892f65e8bed16c5b
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
MP/MPT/MPT_GP.cc
rf07b7f5 rd76b58 490 490 MPT_GP_DistMvPoly_t(tnode, coeffs, nvars, 491 491 MPT_GetGP_Ordering( 492 (MPT_ Node_t*)MPT_AnnotValue(tnode,492 (MPT_Tree_pt)MPT_AnnotValue(tnode, 493 493 MP_PolyDict, 494 494 MP_AnnotPolyOrdering), 495 495 nvars), 496 496 MPT_GetGP_Ordering( 497 (MPT_ Node_t*)MPT_AnnotValue(tnode,497 (MPT_Tree_pt)MPT_AnnotValue(tnode, 498 498 MP_PolyDict, 499 499 MP_AnnotShouldHavePolyOrdering), -
kernel/ideals.cc
rf07b7f5 rd76b58 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.4 0 2007-03-02 09:25:56Singular Exp $ */4 /* $Id: ideals.cc,v 1.41 2007-04-03 15:16:39 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 2369 2369 if (rIsPluralRing(currRing)) 2370 2370 { 2371 BOOLEAN BAD = FALSE;2371 BOOLEAN bBAD = FALSE; 2372 2372 if ( nc_rComplete(origR, &tmpR) ) 2373 2373 { 2374 2374 Werror("error in nc_rComplete"); 2375 BAD = TRUE;2376 } 2377 if (! BAD)2375 bBAD = TRUE; 2376 } 2377 if (!bBAD) 2378 2378 { 2379 2379 /* tests the admissibility of the new elim. ordering */ … … 2381 2381 { 2382 2382 Werror("no elimination is possible: ordering condition is violated"); 2383 BAD = TRUE;2384 } 2385 } 2386 if ( BAD)2383 bBAD = TRUE; 2384 } 2385 } 2386 if (bBAD) 2387 2387 { 2388 2388 // cleanup -
kernel/polys1.cc
rf07b7f5 rd76b58 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys1.cc,v 1.2 4 2007-03-20 13:03:08Singular Exp $ */4 /* $Id: polys1.cc,v 1.25 2007-04-03 15:16:39 Singular Exp $ */ 5 5 6 6 /* … … 570 570 if (rField_is_Q_a()) 571 571 { 572 number hz = nlInit(1);572 number hzz = nlInit(1); 573 573 h = nlInit(1); 574 574 p=ph; … … 579 579 while (c_n!=NULL) 580 580 { // each monom: coeff in Q 581 d=nlLcm(hz ,pGetCoeff(c_n),currRing->algring);582 n_Delete(&hz ,currRing->algring);583 hz =d;581 d=nlLcm(hzz,pGetCoeff(c_n),currRing->algring); 582 n_Delete(&hzz,currRing->algring); 583 hzz=d; 584 584 pIter(c_n); 585 585 } … … 594 594 pIter(p); 595 595 } 596 /* hz contains the 1/lcm of all denominators in c_n_n->z*/596 /* hzz contains the 1/lcm of all denominators in c_n_n->z*/ 597 597 /* h contains the 1/lcm of all denominators in c_n_n->n*/ 598 598 number htmp=nlInvers(h); 599 number hz tmp=nlInvers(hz);600 number hh=nlMult(hz ,h);601 nlDelete(&hz ,currRing->algring);599 number hzztmp=nlInvers(hzz); 600 number hh=nlMult(hzz,h); 601 nlDelete(&hzz,currRing->algring); 602 602 nlDelete(&h,currRing->algring); 603 number hg=nlGcd(hz tmp,htmp,currRing->algring);604 nlDelete(&hz tmp,currRing->algring);603 number hg=nlGcd(hzztmp,htmp,currRing->algring); 604 nlDelete(&hzztmp,currRing->algring); 605 605 nlDelete(&htmp,currRing->algring); 606 606 h=nlMult(hh,hg); -
kernel/tgb.cc
rf07b7f5 rd76b58 5 5 * Computer Algebra System SINGULAR * 6 6 ****************************************/ 7 /* $Id: tgb.cc,v 1.15 0 2007-02-23 13:17:54 brickenExp $ */7 /* $Id: tgb.cc,v 1.151 2007-04-03 15:16:39 Singular Exp $ */ 8 8 /* 9 9 * ABSTRACT: slimgb and F4 implementation … … 2812 2812 is_homog=TRUE; 2813 2813 { 2814 int hz ;2815 for(hz =0;hz<IDELEMS(I);hz++){2816 assume(I->m[hz ]!=NULL);2817 int d=pTotaldegree(I->m[hz ]);2818 poly t=I->m[hz ]->next;2814 int hzz; 2815 for(hzz=0;hzz<IDELEMS(I);hzz++){ 2816 assume(I->m[hzz]!=NULL); 2817 int d=pTotaldegree(I->m[hzz]); 2818 poly t=I->m[hzz]->next; 2819 2819 while(t) 2820 2820 {
Note: See TracChangeset
for help on using the changeset viewer.