Changeset 7012d0 in git for kernel/ideals.cc
- Timestamp:
- Feb 25, 2009, 11:41:54 AM (14 years ago)
- Branches:
- (u'spielwiese', '8d54773d6c9e2f1d2593a28bc68b7eeab54ed529')
- Children:
- 8bdaab44e15deb0fcc5340fad52e47e770503689
- Parents:
- 26d633bea196d3f0e73fe91e0d3b3753397016ac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r26d633 r7012d0 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1. 69 2009-02-12 16:19:23 motsakExp $ */4 /* $Id: ideals.cc,v 1.70 2009-02-25 10:41:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 2748 2748 b->m[i] = prCopyR(a->m[i],origR); 2749 2749 } 2750 if (R) R = idrCopyR(R,origR); 2750 if (R!=NULL) 2751 { 2752 R = idrCopyR(R,origR); 2753 if (ar>1) // otherwise done in mpMinorToResult 2754 { 2755 matrix bb=(matrix)kNF(R,currQuotient,(ideal)b); 2756 bb->rank=b->rank; bb->nrows=b->nrows; bb->ncols=b->ncols; 2757 idDelete((ideal*)&b); b=bb; 2758 } 2759 } 2751 2760 result=idInit(32,1); 2752 2761 if(ar>1) mpRecMin(ar-1,result,elems,b,r,c,NULL,R); 2753 2762 else mpMinorToResult(result,elems,b,r,c,R); 2754 2763 idDelete((ideal *)&b); 2755 if (R ) idDelete(&R);2764 if (R!=NULL) idDelete(&R); 2756 2765 idSkipZeroes(result); 2757 2766 rChangeCurrRing(origR);
Note: See TracChangeset
for help on using the changeset viewer.