Changeset 1ceb92 in git for Singular/iparith.cc
- Timestamp:
- Feb 13, 2009, 11:01:26 AM (15 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- fc681b82f6946b8d67552198cf15bccece338710
- Parents:
- 9f7c98afd95242eaf9f63019cd36b483465f8c85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r9f7c98 r1ceb92 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.49 4 2009-02-13 09:46:49Singular Exp $ */4 /* $Id: iparith.cc,v 1.495 2009-02-13 10:01:26 Singular Exp $ */ 5 5 6 6 /* … … 6970 6970 } 6971 6971 int r=v->Typ(); 6972 BOOLEAN cleanup_i0=FALSE; 6972 6973 if ((r==POLY_CMD) ||(r==VECTOR_CMD)) 6973 6974 { 6974 6975 i0=idInit(1,i1->rank); 6975 6976 i0->m[0]=(poly)v->Data(); 6977 BOOLEAN cleanup_i0=TRUE;; 6976 6978 } 6977 6979 else /* IDEAL */ … … 6981 6983 int ii0=idElem(i0); 6982 6984 i1 = idSimpleAdd(i1,i0); 6983 memset(i0->m,0,sizeof(poly)*IDELEMS(i0)); 6984 idDelete(&i0); 6985 if (cleanup_i0) 6986 { 6987 memset(i0->m,0,sizeof(poly)*IDELEMS(i0)); 6988 idDelete(&i0); 6989 } 6985 6990 intvec *ww=(intvec *)atGet(u,"isHomog",INTVEC_CMD); 6986 6991 tHomog hom=testHomog;
Note: See TracChangeset
for help on using the changeset viewer.