Changeset 26b713 in git for gfanlib/gfanlib_polyhedralfan.cpp
- Timestamp:
- Feb 13, 2013, 4:23:42 PM (11 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gfanlib/gfanlib_polyhedralfan.cpp
r7b8818 r26b713 425 425 if(!c.contains(theCone)) 426 426 { 427 428 427 c.insert(theCone); 429 // log0 fprintf(Stderr,"ADDING\n");430 428 list<SymmetricComplex::Cone> facets=computeFacets(theCone,rays,facetCandidates,c/*,linealityDim*/); 431 429 clist.splice(clist.end(),facets); … … 494 492 for(PolyhedralConeList::const_iterator i=cones.begin();i!=cones.end();i++) 495 493 { 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 502 494 addFacesToSymmetricComplex(symCom,*i,i->getFacets(),generatorsOfLinealitySpace); 503 495 } … … 870 862 int PolyhedralFan::dimensionOfLinealitySpace()const 871 863 { 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(); 874 868 } 875 869
Note: See TracChangeset
for help on using the changeset viewer.