Changeset 8e1c4e in git for kernel/kutil.cc
- Timestamp:
- Jan 31, 2008, 5:13:55 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 31e857fefc0db942580fac2470cb89c397ef32a8
- Parents:
- 73c6d21631d8e2c06ed5fa2c6e5dd9c80ce49f14
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/kutil.cc
r73c6d21 r8e1c4e 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.7 5 2008-01-30 18:56:36wienand Exp $ */4 /* $Id: kutil.cc,v 1.76 2008-01-31 16:13:54 wienand Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 2651 2651 } 2652 2652 #endif 2653 poly tmp = p_ISet((long) ((p)->coef), currRing); 2653 poly tmp = pInit(); 2654 pSetCoeff0(tmp, pGetCoeff(p)); 2654 2655 for (int i = 1; i <= currRing->N; i++) 2655 2656 { … … 2657 2658 } 2658 2659 p_Setm(tmp, currRing); 2660 pSetCoeff0(p, NULL); 2659 2661 p = p_LmDeleteAndNext(p, strat->tailRing); 2660 2662 pNext(tmp) = p; … … 4420 4422 if ((strat->sl>=0) 4421 4423 #ifdef HAVE_RINGS 4422 && nIsUnit(pGetCoeff(strat-> L[strat->Ll].p))4424 && nIsUnit(pGetCoeff(strat->S[0])) 4423 4425 #endif 4424 4426 && pIsConstant(strat->S[0]))
Note: See TracChangeset
for help on using the changeset viewer.