Changeset 080943 in git


Ignore:
Timestamp:
Apr 30, 1997, 2:52:18 PM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '82fc009ea2b0098c1a4896c841bb70860976bdfc')
Children:
496ee65e5c94500c3c66294f8c56514ca05fd1a4
Parents:
b03713bf687d66c6bc0239eaae0c103dba983a51
Message:
o initHG(), ZFactorizeUnivariate(): calls to WARN changed to
  STICKYWARN.


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

Legend:

Unmodified
Added
Removed
  • factory/fac_univar.cc

    rb03713 r080943  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fac_univar.cc,v 1.7 1997-04-22 15:40:32 schmidt Exp $
     2// $Id: fac_univar.cc,v 1.8 1997-04-30 12:52:18 schmidt Exp $
    33
    44/*
    55$Log: not supported by cvs2svn $
     6Revision 1.7  1997/04/22 15:40:32  schmidt
     7o some spurious preprocessr directives removed
     8o #define MAX_FP_FAC changed to a const max_fp_fac
     9o calls to hprint() changed to calls of a macro named
     10  DEBOUTHPRINT()
     11o initHG(): warning added because of some strange error in
     12  the internals of factory.  we will wait for some example
     13  to search for the error.
     14o kBound(), UnivariatequadraticLift(): added cast to double
     15  in the calculation of the bound.  at least one compiler
     16  subjects an ambiguity at this point.
     17o ZFactorizeUnivariate():
     18  - spurious variable CFFList G removed
     19  - sequence 'if ( D != 0 ) delete D;' changed to 'delete
     20    D;'
     21  - warning added because of some strange error in the
     22    internals of factory.  we will wait for some example
     23    to search for the error.
     24o calls to macro DEBOUTLN changed to new calling syntax
     25
    626Revision 1.6  1997/04/08 10:33:19  schmidt
    727#include <config.h> added
     
    136156        if ( (k = i.getItem().factor().degree()) < n )
    137157            if ( k == -1 ) {
    138                 WARN( k == -1, "there occured an error.  factory was not able to factorize\n"
    139                       "correctly mod p.  Please send the example which caused\n"
    140                       "this error to the authors.  Nonetheless we will go on with the\n"
    141                       "calculations hoping the result will be correct.  Thank you." );
     158                STICKYWARN( k == -1, "there occured an error.  factory was not able to factorize\n"
     159                            "correctly mod p.  Please send the example which caused\n"
     160                            "this error to the authors.  Nonetheless we will go on with the\n"
     161                            "calculations hoping the result will be correct.  Thank you." );
    142162            }
    143163            else if ( k != 0 )
     
    153173        if ( (k = F[i].degree()) < n )
    154174            if ( k == -1 ) {
    155                 WARN( k == -1, "there occured an error.  factory was not able to factorize\n"
    156                       "correctly mod p.  Please send the example which caused\n"
    157                       "this error to the authors.  Nonetheless we will go on with the\n"
    158                       "calculations hoping the result will be correct.  Thank you." );
     175                STICKYWARN( k == -1, "there occured an error.  factory was not able to factorize\n"
     176                            "correctly mod p.  Please send the example which caused\n"
     177                            "this error to the authors.  Nonetheless we will go on with the\n"
     178                            "calculations hoping the result will be correct.  Thank you." );
    159179            }
    160180            else if ( k != 0 )
     
    440460        if ( ! ok ) {
    441461            DEBOUTLN( cerr, "warning: no good prime found to factorize " << f );
    442             WARN( ok, "there occured an error.  We went out of primes p\n"
    443                   "to factorize mod p.  Please send the example which caused\n"
    444                   "this error to the authors.  Nonetheless we will go on with the\n"
    445                   "calculations hoping the result will be correct.  Thank you.");
     462            STICKYWARN( ok, "there occured an error.  We went out of primes p\n"
     463                        "to factorize mod p.  Please send the example which caused\n"
     464                        "this error to the authors.  Nonetheless we will go on with the\n"
     465                        "calculations hoping the result will be correct.  Thank you.");
    446466            ZF.append( CFFactor( f, exp ) );
    447467            continue;
Note: See TracChangeset for help on using the changeset viewer.