Changeset 04d04e0 in git
- Timestamp:
- May 22, 2007, 6:14:10 PM (17 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- d3b2ebc75d75cdce3cc0fb111e38f45c5cfdfc2e
- Parents:
- ca545919f01532fc9a016127a36e3869cfd9591e
- Location:
- kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kstd1.cc
rca54591 r04d04e0 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.2 0 2007-05-11 10:48:03wienand Exp $ */4 /* $Id: kstd1.cc,v 1.21 2007-05-22 16:14:09 wienand Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 1069 1069 else if (strat->kHEdgeFound || strat->homog) 1070 1070 strat->red = redFirst; /*take the first possible in T*/ 1071 #ifdef HAVE_RINGS //TODO Oliver 1072 else if (rField_is_Ring(currRing)) 1073 strat->red = redRing2toM; 1074 #endif 1071 1075 else 1072 1076 strat->red = redEcart;/*take the first possible in under ecart-restriction*/ … … 1903 1907 strat->sevT = initsevT(); 1904 1908 strat->red = redLazy; 1909 #ifdef HAVE_RINGS //TODO Oliver 1910 if (rField_is_Ring(currRing)) { 1911 strat->red = redRing2toM; 1912 } 1913 #endif 1905 1914 strat->tailRing = currRing; 1906 1915 if (pOrdSgn == -1) -
kernel/kutil.cc
rca54591 r04d04e0 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.5 5 2007-05-21 17:23:36 SingularExp $ */4 /* $Id: kutil.cc,v 1.56 2007-05-22 16:14:09 wienand Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 1257 1257 k_GetStrongLeadTerms(p, strat->S[i], currRing, m1, m2, gcd, strat->tailRing); 1258 1258 1259 pSetCoeff0(m1, (number) t);1260 pSetCoeff0(m2, (number) s);1259 pSetCoeff0(m1, (number) s); 1260 pSetCoeff0(m2, (number) t); 1261 1261 pSetCoeff0(gcd, (number) d); 1262 1262 … … 1266 1266 { 1267 1267 Print("t = %d; s = %d; d = %d\n", t, s, d); 1268 PrintS("--- create strong gcd poly: "); 1268 PrintS("m1 = "); 1269 p_wrp(m1, strat->tailRing); 1270 PrintS(" ; m2 = "); 1271 p_wrp(m2, strat->tailRing); 1272 PrintS(" ; gcd = "); 1273 wrp(gcd); 1274 PrintS("\n--- create strong gcd poly: "); 1275 Print("\n p: ", i); 1269 1276 wrp(p); 1270 1277 Print("\n strat->S[%d]: ", i); … … 4476 4483 } 4477 4484 /*- test, if a unit is in F -*/ 4478 if ((strat->sl>=0) && pIsConstant(strat->S[0])) 4485 if ((strat->sl>=0) 4486 #ifdef HAVE_RINGS 4487 && !rField_is_Ring(currRing) 4488 #endif 4489 && pIsConstant(strat->S[0])) 4479 4490 { 4480 4491 while (strat->sl>0) deleteInS(strat->sl,strat); -
kernel/pInline1.h
rca54591 r04d04e0 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pInline1.h,v 1.1 1 2007-05-10 08:12:42wienand Exp $9 * Version: $Id: pInline1.h,v 1.12 2007-05-22 16:14:10 wienand Exp $ 10 10 *******************************************************************/ 11 11 #ifndef PINLINE1_H … … 390 390 while (i>=0); 391 391 } 392 pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == TRUE);393 392 #ifdef HAVE_RINGS 394 393 return nDivBy(p_GetCoeff(b, r), p_GetCoeff(a, r)); 395 394 #else 395 pDivAssume(p_DebugLmDivisibleByNoComp(a, b, r) == TRUE); 396 396 return TRUE; 397 397 #endif
Note: See TracChangeset
for help on using the changeset viewer.