Changeset 9c0326 in git for Singular/dyn_modules/gfanlib/bbcone.cc
- Timestamp:
- Sep 10, 2014, 5:43:31 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- b71400abefd0c9c66c0009063f40ddd5b1f1c4c7
- Parents:
- eacb78146504ca284c1888c739cb1aade67c8520
- git-author:
- Yue Ren <ren@mathematik.uni-kl.de>2014-09-10 17:43:31+02:00
- git-committer:
- Yue Ren <ren@mathematik.uni-kl.de>2015-02-06 13:47:04+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/gfanlib/bbcone.cc
reacb781 r9c0326 1607 1607 WerrorS("facetContaining: unexpected parameters"); 1608 1608 return TRUE; 1609 } 1610 1611 1612 BOOLEAN memleaktest(leftv res, leftv args) 1613 { 1614 bigintmat* ineq = NULL; 1615 if (args->Typ() == INTMAT_CMD) 1616 { 1617 intvec* ineq0 = (intvec*) args->Data(); 1618 ineq = iv2bim(ineq0,coeffs_BIGINT); 1619 } 1620 else 1621 ineq = (bigintmat*) args->Data(); 1622 gfan::ZMatrix* zm = bigintmatToZMatrix(ineq); 1623 gfan::ZCone* zc = new gfan::ZCone(*zm, gfan::ZMatrix(0, zm->getWidth())); 1624 delete zm; 1625 if (args->Typ() == INTMAT_CMD) 1626 delete ineq; 1627 res->rtyp = coneID; 1628 res->data = (void*) zc; 1629 return FALSE; 1609 1630 } 1610 1631 … … 1664 1685 p->iiAddCproc("","listOfFacets",FALSE,listOfFacets); 1665 1686 p->iiAddCproc("","facetContaining",FALSE,facetContaining); 1687 p->iiAddCproc("","memleaktest",FALSE,memleaktest); 1666 1688 coneID=setBlackboxStuff(b,"cone"); 1667 1689 }
Note: See TracChangeset
for help on using the changeset viewer.