Changeset cce6701 in git
- Timestamp:
- Oct 8, 2018, 12:25:07 PM (6 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
- Children:
- 0ae5299d623b89bbee2f63b709f0ee7c84cfbbfc
- Parents:
- 643057471a2902ab4b5882c1ec1b833c4b82561c808e441dcf8ac75f71c5edca0c35cee52d2ba3cd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/freegb.lib
r643057 rcce6701 3659 3659 3660 3660 static proc getlpCoeffs(poly q, poly p) 3661 {list R; poly m;intvec cq,t,lv,rv,bla;3661 {list R; intvec cq,t,lv,rv,bla; 3662 3662 int n = attrib(basering,"isLetterplaceRing"); int d = attrib(basering,"uptodeg"); 3663 3663 int i; 3664 m = p/q; 3665 cq = leadexp(m); 3664 cq = leadexp(p)-leadexp(q); /* p/q */ 3666 3665 for (i = 1; i<= d; i++) 3667 3666 {bla = cq[((i-1)*n+1)..(i*n)]; -
kernel/polys.cc
r643057 rcce6701 180 180 else return f; // g==0 => gcd=f (but do a p_Cleardenom/pNorm) 181 181 if (f==NULL) return g; // f==0 => gcd=g (but do a p_Cleardenom/pNorm) 182 if(!rField_is_Ring( currRing)183 && (p_IsConstant(f, currRing)184 ||p_IsConstant(g, currRing)))185 { 186 res=p_One( currRing);182 if(!rField_is_Ring(r) 183 && (p_IsConstant(f,r) 184 ||p_IsConstant(g,r))) 185 { 186 res=p_One(r); 187 187 } 188 188 else if (r->cf->convSingNFactoryN!=ndConvSingNFactoryN)
Note: See TracChangeset
for help on using the changeset viewer.