Changeset 0b3a5b in git for Singular/misc_ip.cc
- Timestamp:
- Mar 9, 2016, 6:09:53 PM (8 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38077648e7239f98078663eb941c3c979511150a')
- Children:
- 0057d85c18702757c2d47d03d57f539b69ec4f5e
- Parents:
- 9b88e6879d7390b971635eddefe0921db1a445c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/misc_ip.cc
r9b88e6 r0b3a5b 28 28 #include <coeffs/OPAEp.h> 29 29 #include <coeffs/flintcf_Q.h> 30 #include <coeffs/flintcf_Zn.h> 30 31 31 32 #include <polys/ext_fields/algext.h> … … 1192 1193 } 1193 1194 } 1195 #ifdef HAVE_FLINT 1196 static n_coeffType n_FlintZn=n_unknown; 1197 static BOOLEAN ii_FlintZn_init(leftv res,leftv a) 1198 { 1199 if ((a->Typ()!=INT_CMD) 1200 ||(a->next==NULL) 1201 ||(a->next->Typ()!=STRING_CMD)) 1202 { 1203 WerrorS("`int`i,`string` expected"); 1204 return TRUE; 1205 } 1206 else 1207 { 1208 flintZn_struct p; 1209 p.ch=(int)(long)a->Data(); 1210 p.name=(char*)a->next->Data(); 1211 res->rtyp=CRING_CMD; 1212 res->data=(void*)nInitChar(n_FlintZn,(void*)&p); 1213 return FALSE; 1214 } 1215 } 1216 #endif 1194 1217 #endif 1195 1218 /*2 … … 1316 1339 IDDATA(h)=(char*)nInitChar(t,NULL); 1317 1340 } 1341 n_FlintZn=nRegister(n_unknown,flintZn_InitChar); 1342 if (n_FlintZn!=n_unknown) 1343 { 1344 iiAddCproc("kernel","flintZ",FALSE,ii_FlintZn_init); 1345 } 1318 1346 #endif 1319 1347 }
Note: See TracChangeset
for help on using the changeset viewer.