Changeset ee3e1ae in git for kernel


Ignore:
Timestamp:
Jun 21, 2010, 8:09:15 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b21a664aa22dc6e196223af8a74ad4885e83547c')
Children:
68d23f8a3c810e5c6e0f7462da82f10eedf0f3d6
Parents:
e3cc9c88085d8e217de6a163ac2bc7d891c19815
Message:
pDeleteLm ->pLmDelete

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

Legend:

Unmodified
Added
Removed
  • kernel/splist.cc

    re3cc9c ree3e1ae  
    3838{
    3939    next   = (spectrumPolyNode*)NULL;
    40     mon    = (poly)NULL;
     40    mon    = NULL;
    4141    weight = (Rational)0;
    42     nf     = (poly)NULL;
     42    nf     = NULL;
    4343}
    4444
     
    9393spectrumPolyNode::~spectrumPolyNode( )
    9494{
    95     if( mon!=(poly)NULL ) pDelete( &mon );
    96     if( nf !=(poly)NULL ) pDelete( &nf );
     95    if( mon!=NULL ) pDelete( &mon );
     96    if( nf !=NULL ) pDelete( &nf );
    9797    copy_zero( );
    9898}
     
    274274            delete_node( node );
    275275        }
    276         else if( (*node)->nf!=(poly)NULL )
     276        else if( (*node)->nf!=NULL )
    277277        {
    278278            f = &((*node)->nf);
    279279
    280             while( *f!=(poly)NULL )
     280            while( *f!=NULL )
    281281            {
    282282                if( pCmp( m,*f )>=0 && pLmDivisibleByNoComp( m,*f ) )
    283283                {
    284                     pDeleteLm(f);
     284                    pLmDelete(f);
    285285                }
    286286                else
    287                     {
     287                {
    288288                    f = &(pNext( *f ));
    289289                }
    290290            }
    291291
    292             if( (*node)->nf==(poly)NULL )
     292            if( (*node)->nf==NULL )
    293293            {
    294294                delete_node( node );
Note: See TracChangeset for help on using the changeset viewer.