Changeset 110e721 in git for kernel/gfan.cc
- Timestamp:
- Dec 4, 2009, 1:17:19 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 1a68d1d2c26c94af9b8ee4cf98aad93763403437
- Parents:
- 60eb1ddb931cc15fe0ad0a8376dc9a7b83de0508
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.cc
r60eb1d r110e721 17 17 #include "ideals.h" 18 18 #include "kmatrix.h" 19 #include "fast_maps.h" //Mapping of ideals19 //#include "fast_maps.h" //Mapping of ideals 20 20 #include "maps.h" 21 21 #include "ring.h" … … 149 149 f2Act->prev = marker; 150 150 } 151 f2Act->setFacetNormal(f2Copy->getFacetNormal()); 151 intvec *f2Normal; 152 f2Normal = f2Copy->getFacetNormal(); 153 // f2Act->setFacetNormal(f2Copy->getFacetNormal()); 154 f2Act->setFacetNormal(f2Normal); 155 delete f2Normal; 152 156 f2Act->setUCN(f2Copy->getUCN()); 153 157 f2Copy = f2Copy->next; … … 181 185 idDelete((ideal *)&this->flipGB); 182 186 if(this->flipRing!=NULL && this->flipRing->idroot!=(idhdl)0xfbfbfbfbfbfbfbfb) 183 rDelete(this->flipRing);187 // rDelete(this->flipRing); 184 188 // this->flipRing=NULL; 185 189 this->prev=NULL; … … 288 292 int facet::getUCN() 289 293 { 290 if(this!=NULL && this!=(facet *)0xfbfbfbfbfbfbfbfb)// || this!=(facet *)0xfbfbfbfb) )294 if(this!=NULL)// && this!=(facet *)0xfbfbfbfbfbfbfbfb)// || this!=(facet *)0xfbfbfbfb) ) 291 295 // if(this!=NULL && ( this->fNormal!=(intvec *)0xfbfbfbfb || this->fNormal!=(intvec *)0xfbfbfbfbfbfbfbfb) ) 292 296 return this->UCN; … … 584 588 int gcone::getUCN() 585 589 { 586 if( this!=NULL && ( this!=(gcone * const)0xfbfbfbfbfbfbfbfb && this!=(gcone * const)0xfbfbfbfb ) )590 if( this!=NULL)// && ( this!=(gcone * const)0xfbfbfbfbfbfbfbfb && this!=(gcone * const)0xfbfbfbfb ) ) 587 591 return this->UCN; 588 592 else … … 1372 1376 { 1373 1377 //NOTE: Can't this be done without new? 1374 intvec *res = new intvec(iv->length());1378 intvec *res;// = new intvec(iv->length()); 1375 1379 res=ivCopy(iv); 1376 1380 *res *= (int)-1;
Note: See TracChangeset
for help on using the changeset viewer.