Changeset f115489 in git
- Timestamp:
- Apr 4, 2011, 5:33:01 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 411e00284c145360dd10ef3b78b69b0e3f3d5e0f
- Parents:
- 8047af8c8db1aff17222fa052c81d384e6e62769
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
dyn_modules/syzextra/mod_main.cc
r8047af8 rf115489 8 8 #include <kernel/longrat.h> 9 9 #include <kernel/kstd1.h> 10 11 #include <kernel/polys.h> 10 12 11 13 #include <Singular/tok.h> … … 760 762 return FALSE; 761 763 } 762 764 765 /// Get raw syzygies (idPrepare) 766 static BOOLEAN _p_Content(leftv res, leftv h) 767 { 768 if ( !( (h!=NULL) && (h->Typ()==POLY_CMD) && (h->Data() != NULL) ) ) 769 { 770 WerrorS("`system(\"p_Content\",<poly-var>)` expected"); 771 return TRUE; 772 } 773 774 775 const poly p = reinterpret_cast<poly>(h->Data()); 776 777 778 pTest(p); pWrite(p); PrintLn(); 779 780 781 p_Content( p, currRing); 782 783 pTest(p); 784 pWrite(p); PrintLn(); 785 786 NoReturn(res); 787 } 788 763 789 END_NAMESPACE 764 790 … … 787 813 psModulFunctions->iiAddCproc(currPack->libname,(char*)"reduce_syz",FALSE, reduce_syz); 788 814 789 // psModulFunctions->iiAddCproc(currPack->libname,(char*)"",FALSE, ); 815 psModulFunctions->iiAddCproc(currPack->libname,(char*)"p_Content",FALSE, _p_Content); 816 817 // psModulFunctions->iiAddCproc(currPack->libname,(char*)"",FALSE, ); 790 818 791 819 return 0; -
kernel/longtrans.cc
r8047af8 rf115489 1372 1372 number ntIntDiv(number la, number lb) 1373 1373 { 1374 ntTest(la); 1375 ntTest(lb); 1374 1376 lnumber res; 1375 1377 lnumber a = (lnumber)la; … … 1384 1386 return NULL; 1385 1387 } 1388 #ifdef LDEBUG 1389 omCheckAddrSize(a,sizeof(snumber)); 1390 omCheckAddrSize(b,sizeof(snumber)); 1391 #endif 1386 1392 assume(a->z!=NULL && b->z!=NULL); 1387 1393 assume(a->n==NULL && b->n==NULL);
Note: See TracChangeset
for help on using the changeset viewer.