Ignore:
Timestamp:
Sep 10, 2014, 5:43:31 PM (10 years ago)
Author:
Yue Ren <ren@…>
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
Message:
chg: status update 12.09.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/dyn_modules/gfanlib/bbcone.cc

    reacb781 r9c0326  
    16071607  WerrorS("facetContaining: unexpected parameters");
    16081608  return TRUE;
     1609}
     1610
     1611
     1612BOOLEAN 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;
    16091630}
    16101631
     
    16641685  p->iiAddCproc("","listOfFacets",FALSE,listOfFacets);
    16651686  p->iiAddCproc("","facetContaining",FALSE,facetContaining);
     1687  p->iiAddCproc("","memleaktest",FALSE,memleaktest);
    16661688  coneID=setBlackboxStuff(b,"cone");
    16671689}
Note: See TracChangeset for help on using the changeset viewer.