Changeset 1e7e19 in git


Ignore:
Timestamp:
Jun 15, 1999, 2:54:55 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
1368792c2ccb1197c3f2ab30867fd969143e673f
Parents:
4a16eb5f1015d1654c4afd0aca819fad6357557f
Message:
* hannes: debug fixes for Singular-interface


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

Legend:

Unmodified
Added
Removed
  • libfac/charset/charset.cc

    r4a16eb r1e7e19  
    22////////////////////////////////////////////////////////////
    33// emacs edit mode for this file is -*- C++ -*-
    4 static char * rcsid = "$Id: charset.cc,v 1.3 1997-09-12 07:19:40 Singular Exp $";
     4static char * rcsid = "$Id: charset.cc,v 1.4 1999-06-15 12:54:54 Singular Exp $";
    55/////////////////////////////////////////////////////////////
    66// FACTORY - Includes
     
    3737#endif
    3838#include "debug.h"
     39
     40#ifdef SINGULAR
     41       extern void WarnS(const char *);
     42       #include "../../Singular/mod2.h"
     43       #include "../../Singular/structs.h"
     44       #include "../../Singular/polys.h"
     45       #include "../../Singular/febase.h"
     46       #include "../../Singular/clapconv.h"
     47#endif
    3948
    4049// the next computes a characteristic set (a basic set in Wang's sense)
     
    554563    }
    555564    else {
    556 //#ifdef HAVE_SINGULAR
    557 //      extern void WerrorS(char *);
    558 //      WerrorS("libfac: Factoring over algebraic function field!");
    559 //#else
    560 //      cerr << "libfac: Factoring over algebraic function field!" << endl;
    561 //#endif
    562565      i=AS;
    563566      for ( nr=1; nr< AS.length(); nr++){
     
    577580            break;
    578581          }
     582          else
     583          {
     584#ifdef SINGULAR
     585            //WarnS("libfac: Factoring over algebraic function field required!");
     586            //pWrite(convClapPSingP(elem));
     587#else
     588#ifndef NOSTREAMIO
     589            cerr << "libfac: Factoring over algebraic function field!" << endl;
     590#endif
     591#endif
     592          }
    579593        }
    580594      }
     
    588602/*
    589603$Log: not supported by cvs2svn $
     604Revision 1.3  1997/09/12 07:19:40  Singular
     605* hannes/michael: libfac-0.3.0
     606
    590607Revision 1.2  1997/04/25 22:52:28  michael
    591608changed cerr and cout messages for use with Singular
  • libfac/factor/Factor.cc

    r4a16eb r1e7e19  
    11/* Copyright 1996 Michael Messollen. All rights reserved. */
    22///////////////////////////////////////////////////////////////////////////////
    3 static char * rcsid = "$Id: Factor.cc,v 1.4 1997-11-18 16:39:04 Singular Exp $ ";
     3static char * rcsid = "$Id: Factor.cc,v 1.5 1999-06-15 12:54:55 Singular Exp $ ";
    44static char * errmsg = "\nYou found a bug!\nPlease inform (Michael Messollen) michael@math.uni-sb.de \nPlease include above information and your input (the ideal/polynomial and characteristic) in your bug-report.\nThank you.";
    55///////////////////////////////////////////////////////////////////////////////
     
    2020#  define HAVE_SINGULAR
    2121   extern "C" { void WerrorS(char *); }
     22   extern  void WarnS(const char *);
    2223#endif
    2324
     
    602603    DEBOUTLN(cout,  "Returned from specializePoly: success: ", success);
    603604    if (success == 0 ){ // No spezialisation could be found
    604 #ifdef HAVE_SINGULAR
    605       WerrorS("libfac: Factorize: ERROR: Not able to find a valid specialization!");   
     605#ifdef SINGULAR
     606      WarnS("libfac: Factorize: ERROR: Not able to find a valid specialization!");   
    606607#else
    607608      cerr << "libfac: Factorize: ERROR: Not able to find a valid specialization!\n"
     
    803804/*
    804805$Log: not supported by cvs2svn $
     806Revision 1.4  1997/11/18 16:39:04  Singular
     807* hannes: moved WerrorS from C++ to C
     808     (Factor.cc MVMultiHensel.cc SqrFree.cc Truefactor.cc)
     809
    805810Revision 1.3  1997/09/12 07:19:46  Singular
    806811* hannes/michael: libfac-0.3.0
Note: See TracChangeset for help on using the changeset viewer.