Changeset e5324a in git
- Timestamp:
- May 21, 2012, 7:28:11 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- e73abe2246b5f27f16872412d2daae5888ef54f1
- Parents:
- 3706b2ae2aa0d92dc9ed3838fc152aede808085e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ipconv.cc
r3706b2 re5324a 103 103 ideal I=idInit(1,1); 104 104 105 I->m[0]=(poly)data;106 105 if (data!=NULL) 107 106 { 108 107 poly p=(poly)data; 108 I->m[0]=p; 109 109 if (pGetComp(p)!=0) I->rank=pMaxComp(p); 110 110 } … … 190 190 static void * iiIm2Bim(void *data) 191 191 { 192 return (void *)iv2bim((intvec*)data,coeffs_BIGINT); 192 intvec *iv=(intvec*)data; 193 void *r=(void *)iv2bim(iv,coeffs_BIGINT); 194 delete iv; 195 return r; 193 196 } 194 197 195 198 static void * iiBim2Im(void *data) 196 199 { 197 return (void *)bim2iv((bigintmat*)data); 200 bigintmat *b=(bigintmat*)data; 201 void *r=(void *)bim2iv(b); 202 delete b; 203 return r; 198 204 } 199 205
Note: See TracChangeset
for help on using the changeset viewer.