Changeset fd0060 in git


Ignore:
Timestamp:
Apr 4, 2000, 1:20:05 PM (24 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
81eeb6c60f1b1a89355bcf927c7864de32b1dacb
Parents:
e53604737a862d2d5ca1e9122fa151e45148811a
Message:
*hannes: do not use Werror unless you will report an error


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

Legend:

Unmodified
Added
Removed
  • Singular/mpr_numeric.cc

    re536047 rfd0060  
    33****************************************/
    44
    5 /* $Id: mpr_numeric.cc,v 1.7 1999-12-02 23:03:51 wenk Exp $ */
     5/* $Id: mpr_numeric.cc,v 1.8 2000-04-04 11:20:04 Singular Exp $ */
    66
    77/*
     
    388388//    }
    389389//    // warning
    390 //    Werror("rootContainer::getRoot: Wrong index %d, found_roots %s",i,found_roots?"true":"false");
     390//    Warn("rootContainer::getRoot: Wrong index %d, found_roots %s",i,found_roots?"true":"false");
    391391//    gmp_complex *tmp= new gmp_complex();
    392392//    return *tmp;
     
    398398{
    399399  if (! ((i >= 0) && (i < anz+2) ) )
    400     WerrorS("rootContainer::evPointCoord: index out of range");
     400    WarnS("rootContainer::evPointCoord: index out of range");
    401401  if (ievpoint == NULL)
    402     WerrorS("rootContainer::evPointCoord: ievpoint == NULL");
     402    WarnS("rootContainer::evPointCoord: ievpoint == NULL");
    403403
    404404  if ( (rt == cspecialmu) && found_roots ) {  // FIX ME
     
    411411    else
    412412    {
    413       Werror("rootContainer::evPointCoord: NULL index %d",i);
     413      Warn("rootContainer::evPointCoord: NULL index %d",i);
    414414    }
    415415  }
    416416
    417417  // warning
    418   Werror("rootContainer::evPointCoord: Wrong index %d, found_roots %s",i,found_roots?"true":"false");
     418  Warn("rootContainer::evPointCoord: Wrong index %d, found_roots %s",i,found_roots?"true":"false");
    419419  gmp_complex *tmp= new gmp_complex();
    420420  return *tmp;
     
    437437
    438438  // warning
    439   Werror(" rootContainer::changeRoots: Wrong index %d, %d",from,to);
     439  Warn(" rootContainer::changeRoots: Wrong index %d, %d",from,to);
    440440  return false;
    441441}
     
    467467    if (!found_roots)
    468468    {
    469       WerrorS("rootContainer::solver: No roots found!");
     469      WarnS("rootContainer::solver: No roots found!");
    470470      goto solverend;
    471471    }
     
    480480    if (!found_roots)
    481481    {
    482       WerrorS("rootContainer::solver: No roots found!");
     482      WarnS("rootContainer::solver: No roots found!");
    483483      goto solverend;
    484484    }
    485485    break;
    486486  default:
    487     Werror("rootContainer::solver: Unsupported polish mode %d! Valid are [0,1,2].",polishmode);
     487    Warn("rootContainer::solver: Unsupported polish mode %d! Valid are [0,1,2].",polishmode);
    488488    found_roots= false;
    489489  } // switch
     
    517517    mprSTICKYPROT(ST_ROOTS_LGSTEP);
    518518    if ( its > MAXIT ) {  // error
    519       WerrorS("rootContainer::laguer_driver: To many iterations!");
     519      WarnS("rootContainer::laguer_driver: To many iterations!");
    520520      ret= false;
    521521      goto theend;
     
    548548      if ( its > MAXIT )
    549549      {  // error
    550         WerrorS("rootContainer::laguer_driver: To many iterations!");
     550        WarnS("rootContainer::laguer_driver: To many iterations!");
    551551        ret= false;
    552552        goto theend;
     
    718718      if ( !found )
    719719      {
    720         Werror("rootArranger::arrange: No match? coord %d, root %d.",xkoord,r);
     720        Warn("rootArranger::arrange: No match? coord %d, root %d.",xkoord,r);
    721721#ifdef mprDEBUG_PROT
    722         WerrorS("One of these ...");
     722        WarnS("One of these ...");
    723723        for ( rtest= r; rtest < anzr; rtest++ )
    724724        {
     
    729729          }
    730730          tmp-= (*roots[xk])[rtest] * mu[xkoord]->evPointCoord(xk+1); // xkoord+2
    731           Werror("  %s",complexToStr(tmp,gmp_output_digits+1),rtest);
     731          Warn("  %s",complexToStr(tmp,gmp_output_digits+1),rtest);
    732732        }
    733         WerrorS(" ... must match to one of these:");
     733        WarnS(" ... must match to one of these:");
    734734        for ( mtest= 0; mtest < anzr; mtest++ )
    735735        {
    736           Werror("                  %s",complexToStr((*mu[xkoord])[mtest],gmp_output_digits+1));
     736          Warn("                  %s",complexToStr((*mu[xkoord])[mtest],gmp_output_digits+1));
    737737        }
    738738#endif
     
    850850  int i,j;
    851851//    if ( MATROWS( m ) > LiPM_rows ||  MATCOLS( m ) > LiPM_cols ) {
    852 //      WerrorS("");
     852//      WarnS("");
    853853//      return FALSE;
    854854//    }
     
    879879  int i,j;
    880880//    if ( MATROWS( m ) < LiPM_rows-3 ||  MATCOLS( m ) < LiPM_cols-2 ) {
    881 //      WerrorS("");
     881//      WarnS("");
    882882//      return NULL;
    883883//    }
     
    939939  {
    940940    // error: bad input
    941     error(WerrorS("simplex::compute: Bad input constraint counts!");)
     941    error(WarnS("simplex::compute: Bad input constraint counts!");)
    942942    icase=-2;
    943943    return;
     
    956956    {
    957957      // error: bad input
    958       error(WerrorS("simplex::compute: Bad input tableau!");)
    959       error(Werror("simplex::compute: in input Matrix row %d, column 1, value %f",i+1,LiPM[i+1][1]);)
     958      error(WarnS("simplex::compute: Bad input tableau!");)
     959      error(Warn("simplex::compute: in input Matrix row %d, column 1, value %f",i+1,LiPM[i+1][1]);)
    960960      icase=-2;
    961961      // free mem l1,l2,l3;
  • Singular/ring.h

    re536047 rfd0060  
    77* ABSTRACT - the interpreter related ring operations
    88*/
    9 /* $Id: ring.h,v 1.46 2000-01-26 18:10:54 Singular Exp $ */
     9/* $Id: ring.h,v 1.47 2000-04-04 11:20:05 Singular Exp $ */
    1010
    1111/* includes */
     
    121121
    122122inline BOOLEAN rField_has_simple_inverse(ring r=currRing)
    123 { return (r->ch>1) || (r->ch== -1); } /* Z/p, GF(p,n), R, long_R, long_C*/
     123/* { return (r->ch>1) || (r->ch== -1); } /* Z/p, GF(p,n), R, long_R, long_C*/
     124{ return (r->ch>1) || ((r->ch== -1) && (r->ch_flags < 10)); } /* Z/p, GF(p,n), R, long_R, long_C*/
    124125
    125126inline BOOLEAN rField_has_simple_Alloc(ring r=currRing)
Note: See TracChangeset for help on using the changeset viewer.