Changeset cda3bf in git
 Timestamp:
 Dec 6, 2013, 11:15:40 AM (9 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
 Children:
 b960f1a8dce04288b07c183de8184dc249aa3dca
 Parents:
 54e01d660f6a2e9fa9ffd4f0b6e0d7ed9b5e68d9
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Singular/LIB/primdec.lib
r54e01d rcda3bf 709 709 return(l); 710 710 } 711 def op = option(get); 711 712 def P=basering; 712 713 int i,j,k,m,q,d,o; 713 int n =nvars(basering);714 int n = nvars(basering); 714 715 ideal s,t,u,sact; 715 716 poly ni; … … 769 770 { 770 771 setring RL; 772 771 773 option(redSB); 772 774 t=std(t); … … 786 788 keep1=keep1+rp; 787 789 option(noredSB); 790 788 791 } 789 792 kill RL; … … 803 806 } 804 807 l=l+keep1; 808 option(set,op) 805 809 return(l); 806 810 } … … 1898 1902 list @res,empty; 1899 1903 ideal ser; 1900 option(redSB); 1904 def op = option( get ); 1905 option( redSB ); 1901 1906 list @pr=facstd(i); 1902 1907 //if(size(@pr)==1) … … 1923 1928 // } 1924 1929 // } 1925 option(noredSB); 1930 // option( noredSB ); 1931 option( set, op ); 1926 1932 int j,k,odim,ndim,count; 1927 1933 attrib(@pr[1],"isSB",1); … … 2096 2102 } 2097 2103 2098 if(dim(i) == 1){setring P0;return(ideal(1));} 2099 if((dim(i) == 0) && (npars(P) == 0)) 2104 if( dim(i) == 1 ) 2105 { 2106 option( set,op ); 2107 setring P0; 2108 return( ideal(1) ); 2109 } 2110 if( (dim(i) == 0 ) && ( npars(P) == 0) ) 2100 2111 { 2101 2112 int di = vdim(i); … … 2546 2557 int n=nvars(R); 2547 2558 2559 def op = option(get); 2560 2548 2561 //Anfang Provisorium 2549 2562 if((size(i)==2) && (w==2)) 2550 2563 { 2551 option( redSB);2552 ideal J =std(i);2553 option( noredSB);2554 if ((size(J)==2)&&(deg(J[1])==1))2564 option( redSB ); 2565 ideal J = std(i); 2566 option( noredSB ); 2567 if ((size(J)==2)&&(deg(J[1])==1)) 2555 2568 { 2556 2569 ideal keep; … … 2577 2590 resu[j]=L; 2578 2591 } 2592 option( set, op ); 2579 2593 return(resu); 2580 2594 } … … 2652 2666 re=convList(pr); 2653 2667 } 2654 return(re); 2668 option( set, op ); 2669 return( re ); 2655 2670 } 2656 2671 /////////////////////////////////////////////////////////////////////////////// … … 7009 7024 primary=resu; 7010 7025 } 7026 option(set,op); 7011 7027 if (intersectOption == "intersect") 7012 7028 {
Note: See TracChangeset
for help on using the changeset viewer.