Changeset 1a4313 in git


Ignore:
Timestamp:
Dec 2, 2009, 4:05:51 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
637bb9649b0e9a2795c9fe6873cf5fe6c695d0ed
Parents:
dcf8b4bb59613c4883df3373fb88fa1c75e2f5b6
Message:
use NDEBUG instead of __OPTIMIZE__

git-svn-id: file:///usr/local/Singular/svn/trunk@12357 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    rdcf8b4b r1a4313  
    7070}
    7171
    72 #ifndef __OPTIMIZE__
     72#ifndef NDEBUG
    7373// this is only for outputting an ideal within the debugger
    7474void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint)
  • kernel/ideals.h

    rdcf8b4b r1a4313  
    2121void id_Delete (ideal* h, ring r);
    2222void id_ShallowDelete (ideal* h, ring r);
    23 /* Shows an ideal -- mainly for debugging */
    24 void idShow(const ideal id, const ring lmRing = currRing, const ring tailRing = currRing, const int debugPrint = 0);
    2523  /*- initialise an ideal -*/
    2624ideal idMaxIdeal (int deg);
     
    155153ideal id_Transp(ideal a, const ring rRing = currRing);
    156154
    157 
    158155intvec *idQHomWeight(ideal id);
    159156
     
    168165ideal idFarey(ideal x, number N);
    169166
    170 
    171167ideal id_TensorModuleMult(const int m, const ideal M, const ring rRing = currRing); // image of certain map for BGG
    172168
    173 
    174 
     169#ifndef NDEBUG
     170/* Shows an ideal -- only for debugging */
     171void idShow(const ideal id, const ring lmRing = currRing, const ring tailRing = currRing, const int debugPrint = 0);
    175172#endif
     173#endif
Note: See TracChangeset for help on using the changeset viewer.