Changeset 8444b0 in git for libfac/factor/Truefactor.cc


Ignore:
Timestamp:
Aug 8, 2001, 4:27:38 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.