Changeset 110e721 in git for kernel/gfan.cc


Ignore:
Timestamp:
Dec 4, 2009, 1:17:19 PM (14 years ago)
Author:
Martin Monerjan
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1a68d1d2c26c94af9b8ee4cf98aad93763403437
Parents:
60eb1ddb931cc15fe0ad0a8376dc9a7b83de0508
Message:
const parameters
0xfb checks removed


git-svn-id: file:///usr/local/Singular/svn/trunk@12365 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/gfan.cc

    r60eb1d r110e721  
    1717#include "ideals.h"
    1818#include "kmatrix.h"
    19 #include "fast_maps.h"  //Mapping of ideals
     19//#include "fast_maps.h"        //Mapping of ideals
    2020#include "maps.h"
    2121#include "ring.h"
     
    149149                        f2Act->prev = marker;
    150150                }
    151                 f2Act->setFacetNormal(f2Copy->getFacetNormal());
     151                intvec *f2Normal;
     152                f2Normal = f2Copy->getFacetNormal();
     153//              f2Act->setFacetNormal(f2Copy->getFacetNormal());
     154                f2Act->setFacetNormal(f2Normal);
     155                delete f2Normal;
    152156                f2Act->setUCN(f2Copy->getUCN());
    153157                f2Copy = f2Copy->next;
     
    181185                idDelete((ideal *)&this->flipGB);
    182186        if(this->flipRing!=NULL && this->flipRing->idroot!=(idhdl)0xfbfbfbfbfbfbfbfb)
    183                 rDelete(this->flipRing);
     187//              rDelete(this->flipRing);
    184188//      this->flipRing=NULL;
    185189        this->prev=NULL;
     
    288292int facet::getUCN()
    289293{
    290         if(this!=NULL  && this!=(facet *)0xfbfbfbfbfbfbfbfb)// || this!=(facet *)0xfbfbfbfb) )
     294        if(this!=NULL)//  && this!=(facet *)0xfbfbfbfbfbfbfbfb)// || this!=(facet *)0xfbfbfbfb) )
    291295//      if(this!=NULL && ( this->fNormal!=(intvec *)0xfbfbfbfb || this->fNormal!=(intvec *)0xfbfbfbfbfbfbfbfb) )
    292296                return this->UCN;
     
    584588int gcone::getUCN()
    585589{
    586         if( this!=NULL && ( this!=(gcone * const)0xfbfbfbfbfbfbfbfb && this!=(gcone * const)0xfbfbfbfb ) )
     590        if( this!=NULL)// && ( this!=(gcone * const)0xfbfbfbfbfbfbfbfb && this!=(gcone * const)0xfbfbfbfb ) )
    587591                return this->UCN;
    588592        else
     
    13721376{
    13731377        //NOTE: Can't this be done without new?
    1374         intvec *res = new intvec(iv->length());
     1378        intvec *res;// = new intvec(iv->length());
    13751379        res=ivCopy(iv);
    13761380        *res *= (int)-1;                                               
Note: See TracChangeset for help on using the changeset viewer.