Changeset 456842 in git for libfac/factor/MVMultiHensel.cc


Ignore:
Timestamp:
Aug 8, 2001, 4:26:56 PM (22 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
Children:
8444b045c3217f44893e92cc7acc9a1bc7595178
Parents:
14b1e65b4290df7e1f7dc6b926269dc204ea38a3
Message:
*hannes: Dan's HAVE_SINGULAR_ERROR


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

Legend:

Unmodified
Added
Removed
  • libfac/factor/MVMultiHensel.cc

    r14b1e65 r456842  
    22///////////////////////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 // static char * rcsid = "$Id: MVMultiHensel.cc,v 1.5 2001-08-08 11:59:12 Singular Exp $";
     4// static char * rcsid = "$Id: MVMultiHensel.cc,v 1.6 2001-08-08 14:26:55 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
     
    109112  // Degrees ok? degree(F1,mainvar) + degree(F2,mainvar) <= i ?
    110113  if ( (degree(F1,levelU) + degree(F2,levelU) ) <= i ) {
    111 #ifdef HAVE_SINGULAR
     114#ifdef factor/MVMultiHensel.cc
    112115    WerrorS("libfac: diophant ERROR: degree too large!  ");
    113116#else
     117#ifndef NOSTREAMIO
    114118    cerr << "libfac: diophant ERROR: degree too large!  "
    115119         << (degree(F1,levelU) + degree(F2,levelU) ) <<endl;
     120#else
     121    ;
     122#endif
    116123#endif
    117124    Retvalue.One=F1;Retvalue.Two=F2;
     
    123130    // check if gcd(F1,F2) <> 1 , i.e. F1 and F2 are not relatively prime
    124131    if ( ! r.isOne() ){
    125 #ifdef HAVE_SINGULAR
     132#ifdef HAVE_SINGULAR_ERROR
    126133      WerrorS("libfac: diophant ERROR: F1 and F2 are not relatively prime! ");
    127134#else
     
    130137           << "  are not relatively prime!" << endl;
    131138#else
    132      cerr << "libfac: diophant ERROR: F1 and F2 are not relatively prime!"
    133           << endl;
     139     ;
    134140#endif
    135141#endif
     
    405411/*
    406412$Log: not supported by cvs2svn $
     413Revision 1.5  2001/08/08 11:59:12  Singular
     414*hannes: Dan's NOSTREAMIO changes
     415
    407416Revision 1.4  1997/11/18 16:39:05  Singular
    408417* hannes: moved WerrorS from C++ to C
Note: See TracChangeset for help on using the changeset viewer.