Changeset 8444b0 in git


Ignore:
Timestamp:
Aug 8, 2001, 4:27:38 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
1ac173caaa52482213be39480214765a2e70eb5f
Parents:
456842ed1cd4bb0af35f859e0befe623c3991393
Message:
*hannes: Dan's HAVE_SINGULAR_ERROR


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/SqrFree.cc

    r456842 r8444b0  
    22///////////////////////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 static char * rcsid = "$Id: SqrFree.cc,v 1.6 2001-08-08 14:26:56 Singular Exp $";
     4static char * rcsid = "$Id: SqrFree.cc,v 1.7 2001-08-08 14:27:38 Singular Exp $";
    55static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de .\n Please include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you.";
    66///////////////////////////////////////////////////////////////////////////////
     
    262262  WerrorS("libfac: ERROR: SqrFreed: we should never fall trough here!");
    263263#else
    264 #infdef NOSTREAMIO
     264#ifndef NOSTREAMIO
    265265  cerr << "\nlibfac: ERROR: SqrFreed: we should never fall trough here!\n"
    266266       << rcsid << errmsg << endl;
     
    341341/*
    342342$Log: not supported by cvs2svn $
     343Revision 1.6  2001/08/08 14:26:56  Singular
     344*hannes: Dan's HAVE_SINGULAR_ERROR
     345
    343346Revision 1.5  2001/08/08 11:59:13  Singular
    344347*hannes: Dan's NOSTREAMIO changes
  • libfac/factor/Truefactor.cc

    r456842 r8444b0  
    22///////////////////////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 //static char * rcsid = "@(#) $Id: Truefactor.cc,v 1.8 2001-08-08 11:59:13 Singular Exp $";
     4//static char * rcsid = "@(#) $Id: Truefactor.cc,v 1.9 2001-08-08 14:26:56 Singular Exp $";
    55///////////////////////////////////////////////////////////////////////////////
    66// Factory - Includes
     
    1616
    1717#ifdef SINGULAR
    18 #  define HAVE_SINGULAR
     18#define HAVE_SINGULAR_ERROR
     19#endif
     20
     21#ifdef HAVE_SINGULAR_ERROR
    1922   extern "C" { void WerrorS(char *); }
    2023#endif
     
    356359    int n=2;
    357360    if ( PossibleFactors.length() < n ) { // a little check
    358 #ifdef HAVE_SINGULAR
     361#ifdef HAVE_SINGULAR_ERROR
    359362      WerrorS("libfac: ERROR: TakeNorms less then two items remaining!");
    360363#else
     364#ifndef NOSTREAMIO
    361365      cerr << "libfac: ERROR: TakeNorms less then two items remaining! "
    362366           << endl;
     367#else
     368      ;
     369#endif
    363370#endif
    364371    }
     
    398405      }
    399406      else{
    400 #ifdef HAVE_SINGULAR
     407#ifdef HAVE_SINGULAR_ERROR
    401408        WerrorS("libfac: TakeNorms: somethings wrong with remaining factors!");
    402409#else
     410#ifndef NOSTREAMIO
    403411        cerr << "libfac: TakeNorms: somethings wrong with remaining factors!"
    404412             << endl;
     413#endif
    405414#endif
    406415      }
     
    413422/*
    414423$Log: not supported by cvs2svn $
     424Revision 1.8  2001/08/08 11:59:13  Singular
     425*hannes: Dan's NOSTREAMIO changes
     426
    415427Revision 1.7  2001/08/06 08:32:54  Singular
    416428* hannes: code cleanup
Note: See TracChangeset for help on using the changeset viewer.