Changeset 805db88 in git
- Timestamp:
- Nov 14, 2013, 7:57:20 PM (10 years ago)
- Branches:
- (u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
- Children:
- 4b5171ff486c46e0d3f30c8810fc2bb7ebd00157
- Parents:
- b5f27dd8b00738efde14a72f129d4b6173d951f4
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-14 19:57:20+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-15 14:58:04+01:00
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rb5f27dd r805db88 3038 3038 3039 3039 maxl--; 3040 if ( (maxl==-1) /*&& (iiOp!=MRES_CMD)*/)3040 if (/*(*/ maxl==-1 /*)*/) /*&& (iiOp!=MRES_CMD)*/ 3041 3041 { 3042 3042 maxl = currRing->N-1+2*(iiOp==MRES_CMD); … … 3153 3153 3154 3154 maxl--; 3155 if ( (maxl==-1) /*&& (iiOp!=MRES_CMD)*/)3155 if (/*(*/ maxl==-1 /*)*/) /*&& (iiOp!=MRES_CMD)*/ 3156 3156 { 3157 3157 maxl = currRing->N-1+2*(iiOp==MRES_CMD); -
Singular/ipassign.cc
rb5f27dd r805db88 502 502 static BOOLEAN jiA_1x1INTMAT(leftv res, leftv a,Subexpr e) 503 503 { 504 if ( (res->rtyp!=INTMAT_CMD) /*|| (e!=NULL) - TRUE because of type int */)504 if (/*(*/ res->rtyp!=INTMAT_CMD /*)*/) /*|| (e!=NULL) - TRUE because of type int */ 505 505 { 506 506 // no error message: assignment simply fails … … 524 524 static BOOLEAN jiA_1x1MATRIX(leftv res, leftv a,Subexpr e) 525 525 { 526 if ( (res->rtyp!=MATRIX_CMD) /*|| (e!=NULL) - TRUE because of type poly */)526 if (/*(*/ res->rtyp!=MATRIX_CMD /*)*/) /*|| (e!=NULL) - TRUE because of type poly */ 527 527 { 528 528 // no error message: assignment simply fails … … 846 846 847 847 int lt=l->Typ(); 848 if ((lt==0)/*&&(l->name!=NULL)*/)848 if (/*(*/ lt==0 /*)*/) /*&&(l->name!=NULL)*/ 849 849 { 850 850 if (!errorreported) Werror("left side `%s` is undefined",l->Fullname()); -
Singular/maps_ip.cc
rb5f27dd r805db88 117 117 res->data=(void *)prCopyR( (poly)data, preimage_r, currRing); 118 118 else 119 if ((what==IMAP_CMD) || ((what==FETCH_CMD) /* && (nMap!=nCopy)*/)) 119 if ( (what==IMAP_CMD) || /*(*/ (what==FETCH_CMD) /*)*/) /* && (nMap!=nCopy)*/ 120 120 res->data=(void *)p_PermPoly((poly)data,perm,preimage_r,currRing, nMap,par_perm,P); 121 121 else /*if (what==MAP_CMD)*/ … … 155 155 } 156 156 else 157 if ((what==IMAP_CMD) || ((what==FETCH_CMD) /* && (nMap!=nCopy)*/)) 157 if ( (what==IMAP_CMD) || /*(*/ (what==FETCH_CMD) /*)*/) /* && (nMap!=nCopy)*/ 158 158 { 159 159 for (i=R*C-1;i>=0;i--) -
dyn_modules/callgfanlib/gfan.cc
rb5f27dd r805db88 1688 1688 ring tmpRing; 1689 1689 1690 if( (srcRing->order[0]!=ringorder_a))1690 if( /*(*/ srcRing->order[0]!=ringorder_a /*)*/ ) 1691 1691 { 1692 1692 int64vec *iv;// = new int64vec(this->numVars); -
dyn_modules/syzextra/mod_main.cc
rb5f27dd r805db88 701 701 const int pos = rGetISPos(p, r); 702 702 703 if( (-1 == pos))703 if( /*(*/ -1 == pos /*)*/ ) 704 704 { 705 705 WerrorS("`GetInducedData([int])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)"); … … 777 777 const int posIS = rGetISPos(p, r); 778 778 779 if( (-1 == posIS))779 if( /*(*/ -1 == posIS /*)*/ ) 780 780 { 781 781 WerrorS("`SetInducedReferrence(<ideal/module>, [int[, int]])` called on incompatible ring (not created by 'MakeInducedSchreyerOrdering'!)"); -
factory/libfac/factor/Factor.cc
rb5f27dd r805db88 845 845 // search an "optimal" main variavble 846 846 int mv=F.level(); 847 if ( (mv != LEVELBASE) /* && (! F.isUnivariate()) */)847 if (/*(*/ mv != LEVELBASE /*)*/) /* && (! F.isUnivariate()) */ 848 848 { 849 849 mv=find_mvar(F); -
factory/libfac/factor/SqrFree.cc
rb5f27dd r805db88 219 219 for (int k=1; k<=n; k++) 220 220 { 221 if ( (mipo.isZero())/*||(k!=1)*/)221 if (/*(*/ mipo.isZero() /*)*/) /*||(k!=1)*/ 222 222 { 223 223 g = swapvar(f,k,n); g = content(g); … … 266 266 for (int k=1; k<=n; k++) 267 267 { 268 if ( (mipo.isZero())/*||(k!=1)*/)268 if (/*(*/ mipo.isZero() /*)*/) /*||(k!=1)*/ 269 269 { 270 270 g=swapvar(f,k,n) ; -
kernel/fast_maps.cc
rb5f27dd r805db88 469 469 return NULL; 470 470 } 471 if ( (p==NULL) /* && (e>0)*/)471 if (/*(*/ p==NULL /*)*/) /* && (e>0)*/ 472 472 { 473 473 p=p_Copy(pp /*dest_id[i-1]*/,dest_r); … … 715 715 { 716 716 choice=iter->next; 717 if ( (iter->f1==NULL))717 if ( /*(*/ iter->f1==NULL /*)*/ ) 718 718 { 719 719 ggT=maFindBestggT(iter, choice, fp, fq,src_r); -
kernel/ideals.cc
rb5f27dd r805db88 1219 1219 intvec * weights; 1220 1220 hom = (tHomog)idHomModule(h1,currQuotient,&weights); 1221 if (/**addOnlyOne &&*/ (!h1IsStb))1221 if /**addOnlyOne &&*/ (/*(*/ !h1IsStb /*)*/) 1222 1222 temph1 = kStd(h1,currQuotient,hom,&weights,NULL); 1223 1223 else -
kernel/syz0.cc
rb5f27dd r805db88 910 910 //idPrint(res[syzIndex+1]); 911 911 912 if ( (syzIndex==0))912 if ( /*(*/ syzIndex==0 /*)*/ ) 913 913 { 914 914 if ((hom==isHomog)|| (rHasGlobalOrdering(origR))) -
kernel/tgb_internal.h
rb5f27dd r805db88 1110 1110 { 1111 1111 MonRedResNP<number_type> red=mon[i]; 1112 if ( (red.ref))1112 if ( /*(*/ red.ref /*)*/ ) 1113 1113 { 1114 1114 if (red.ref->row) … … 1953 1953 if (res_holder){ 1954 1954 succ=TRUE; 1955 if ( (res_holder->value_len==backLinkCode)){1955 if ( /*(*/ res_holder->value_len==backLinkCode /*)*/ ){ 1956 1956 len=1; 1957 1957 return term; -
kernel/walkSupport.cc
rb5f27dd r805db88 1123 1123 (*res)[j]=(int64)weights[j]; 1124 1124 } 1125 else if( (r->order[0]==ringorder_a64))1125 else if( /*(*/ r->order[0]==ringorder_a64 /*)*/ ) 1126 1126 { 1127 1127 int64* weights=(int64*)r->wvhdl[0]; -
libpolys/coeffs/modulop.cc
rb5f27dd r805db88 539 539 % r->ch); 540 540 r->npLogTable[r->npExpTable[i]] = i; 541 if (/*(i == r->ch - 1 ) ||*/ (r->npExpTable[i] == 1))541 if /*(i == r->ch - 1 ) ||*/ (/*(*/ r->npExpTable[i] == 1 /*)*/) 542 542 break; 543 543 } -
libpolys/polys/ext_fields/transext.cc
rb5f27dd r805db88 1514 1514 void ntNormalize (number &a, const coeffs cf) 1515 1515 { 1516 if ( (a!=NULL))1516 if ( /*(*/ a!=NULL /*)*/ ) 1517 1517 { 1518 1518 definiteGcdCancellation(a, cf, FALSE); -
libpolys/polys/nc/sca.cc
rb5f27dd r805db88 477 477 #endif 478 478 479 if ( ( pPoly == NULL ) /*|| ( pMonom == NULL )*/ )479 if (/*(*/ pPoly == NULL /*)*/) /*|| ( pMonom == NULL )*/ 480 480 return NULL; 481 481
Note: See TracChangeset
for help on using the changeset viewer.