Ignore:
Timestamp:
Feb 13, 2013, 4:23:42 PM (11 years ago)
Author:
Yue Ren <ren@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
81384bd682dd5f3d82dcdbb5f9b03b8e16f90d39
Parents:
7b8818e8f761639646d742a3b11bca3b5a9408da
git-author:
Yue Ren <ren@mathematik.uni-kl.de>2013-02-13 16:23:42+01:00
git-committer:
Yue Ren <ren@mathematik.uni-kl.de>2013-03-14 15:32:21+01:00
Message:
chg: updated gfanlib package to newest version in master
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gfanlib/gfanlib_polyhedralfan.cpp

    r7b8818 r26b713  
    425425      if(!c.contains(theCone))
    426426        {
    427 
    428427          c.insert(theCone);
    429           //      log0 fprintf(Stderr,"ADDING\n");
    430428          list<SymmetricComplex::Cone> facets=computeFacets(theCone,rays,facetCandidates,c/*,linealityDim*/);
    431429          clist.splice(clist.end(),facets);
     
    494492          for(PolyhedralConeList::const_iterator i=cones.begin();i!=cones.end();i++)
    495493            {
    496               {
    497                 static int t;
    498 //                log1 fprintf(Stderr,"Adding faces of cone %i\n",t++);
    499               }
    500   //            log2 fprintf(Stderr,"Dim: %i\n",i->dimension());
    501 
    502494              addFacesToSymmetricComplex(symCom,*i,i->getFacets(),generatorsOfLinealitySpace);
    503495            }
     
    870862int PolyhedralFan::dimensionOfLinealitySpace()const
    871863{
    872   assert(cones.size());//slow!
    873   return cones.begin()->dimensionOfLinealitySpace();
     864  if(cones.size()) //slow!
     865    return 0;
     866  else
     867    return cones.begin()->dimensionOfLinealitySpace();
    874868}
    875869
Note: See TracChangeset for help on using the changeset viewer.