Changeset 715f30 in git


Ignore:
Timestamp:
Dec 2, 2010, 4:31:20 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
c3005ea46d9ce4dea15139c365c248317f216023
Parents:
4e75784f0d5e941b4a716274f7236f53348703e1
Message:
code cleanup: debug stuff(p_wrp0)

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

Legend:

Unmodified
Added
Removed
  • kernel/polys0.cc

    r4e7578 r715f30  
    146146}
    147147
     148#if !defined(__OPTIMIZE__) || defined(KDEBUG)
    148149/*2
    149150*the standard debugging output:
     
    169170  }
    170171}
    171 //#if !defined(__OPTIMIZE__) || defined(KDEBUG): used in list1
    172 #if 1
     172#endif
    173173void p_wrp(poly p, ring lmRing, ring tailRing)
    174174{
     
    189189  }
    190190}
    191 #else
    192 // this is for use with buckets
    193 void p_wrp(poly p, ring lmRing, ring tailRing)
    194 {
    195   poly r;
    196 
    197   if (p==NULL) PrintS("NULL");
    198   else if (pNext(p)==NULL) p_Write0(p, lmRing);
    199   else
    200   {
    201     r = pNext(p);
    202     pNext(p) = NULL;
    203     p_Write0(p, lmRing, tailRing);
    204     pNext(p) = r;
    205   }
    206 }
    207 #endif
    208 //#endif
Note: See TracChangeset for help on using the changeset viewer.