Changeset cbeafc2 in git
- Timestamp:
- Nov 17, 2006, 3:31:07 PM (17 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- f41bd90135713026d8a1ff50059a2d95d034bf52
- Parents:
- 6ddd8a0a16f90b70564607ed32af027112fc1b37
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r6ddd8a0 rcbeafc2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.2 0 2006-06-28 15:06:49Singular Exp $ */4 /* $Id: ideals.cc,v 1.21 2006-11-17 14:31:07 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 2720 2720 } 2721 2721 2722 // 2722 //#define NEW_STUFF 2723 2723 #ifndef NEW_STUFF 2724 2724 // converts mat to module, destroys mat … … 2761 2761 poly h; 2762 2762 poly p; 2763 sBucket_pt bucket = sBucket Init(currRing);2763 sBucket_pt bucket = sBucketCreate(currRing); 2764 2764 2765 2765 for(j=0;j<mc /*MATCOLS(mat)*/;j++) /* j is also index in result->m */ … … 2771 2771 { 2772 2772 MATELEM(mat,i,j+1)=NULL; 2773 p_SetCompP(h,i, currRing , &l);2773 p_SetCompP(h,i, currRing); 2774 2774 sBucket_Merge_p(bucket, h, l); 2775 2775 } … … 2777 2777 sBucketClearMerge(bucket, &(result->m[j]), &l); 2778 2778 } 2779 sBucketDestroy(&bucket); 2779 2780 2780 2781 // obachman: need to clean this up -
kernel/matpol.cc
r6ddd8a0 rcbeafc2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: matpol.cc,v 1. 7 2006-11-17 14:17:16 Singular Exp $ */4 /* $Id: matpol.cc,v 1.8 2006-11-17 14:31:06 Singular Exp $ */ 5 5 6 6 /* … … 217 217 { 218 218 poly a_p, b_p; 219 if (((a_p=MATELEM(a,i,k))!=NULL) ||((b_p=MATELEM(b,k,j))!=NULL))219 if (((a_p=MATELEM(a,i,k))!=NULL) && ((b_p=MATELEM(b,k,j))!=NULL)) 220 220 { 221 221 s = ppMult_qq(a_p /*MATELEM(a,i,k)*/, b_p/*MATELEM(b,k,j)*/);
Note: See TracChangeset
for help on using the changeset viewer.