Changeset 414c7d0 in git


Ignore:
Timestamp:
Jul 26, 2009, 10:16:24 PM (14 years ago)
Author:
Motsak Oleksandr <motsak@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
66c9621763744972721394454948bf15c181da23
Parents:
8fea2911be295a6a054de2c9efca75a14d2a364a
Message:
no warnnings in release version


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

Legend:

Unmodified
Added
Removed
  • kernel/ring.cc

    r8fea29 r414c7d0  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.123 2009-07-20 12:00:51 motsak Exp $ */
     4/* $Id: ring.cc,v 1.124 2009-07-26 20:16:24 motsak Exp $ */
    55
    66/*
     
    26932693      case ringorder_S:
    26942694      {
     2695#ifndef NDEBUG
    26952696        dReportError("Error: unhandled ordering in rModifyRing: ringorder_S = [%d]", r_ord);
     2697#endif
    26962698        order[j]=r_ord; /*r->order[i];*/
    26972699        break;
     
    27592761        if (omit_comp)
    27602762        {
    2761           dReportError("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d", i, r_ord);
     2763#ifndef NDEBUG
     2764          Warn("WRONG USAGE? of rModifyRing: omitting component due to the ordering block [%d]: %d", i, r_ord);
     2765#endif
    27622766          omit_comp = FALSE;
    27632767        }
     
    28642868    if ( nc_rComplete(r, res, false) ) // no qideal!
    28652869    {
     2870#ifndef NDEBUG
    28662871      WarnS("error in nc_rComplete");
     2872#endif
    28672873      // cleanup?
    28682874
     
    29192925    if ( nc_rComplete(r, res, false) ) // no qideal!
    29202926    {
     2927#ifndef NDEBUG
    29212928      WarnS("error in nc_rComplete");
     2929#endif
    29222930      // cleanup?
    29232931
     
    29792987      if ( nc_rComplete(r, res, false) ) // no qideal!
    29802988      {
     2989#ifndef NDEBUG
    29812990        WarnS("error in nc_rComplete");
    2982       // cleanup?
     2991#endif
     2992        // cleanup?
    29832993
    29842994//      rDelete(res);
     
    37923802        } else if (r->typ[i].ord_typ == ro_syzcomp)
    37933803        {
     3804#ifndef NDEBUG
    37943805          Warn( "rUnComplete : ord_typ == ro_syzcomp was unhandled!!! Possibly memory leak!!!"  );
     3806#endif
    37953807        }
    37963808
     
    42184230  if ( (r->order[0] == ringorder_IS) )
    42194231  {
     4232#ifndef NDEBUG
    42204233    WarnS("rAssure_SyzComp in an IS ring!");
     4234#endif
    42214235//    return r;
    42224236  }
     
    42524266      if ( nc_rComplete(r, res, false) ) // no qideal!
    42534267      {
     4268#ifndef NDEBUG
    42544269        WarnS("error in nc_rComplete");      // cleanup?//      rDelete(res);//      return r;      // just go on..
     4270#endif
    42554271      }
    42564272    }
     
    43744390    if ( nc_rComplete(r, res, false) ) // no qideal!
    43754391    {
     4392#ifndef NDEBUG
    43764393      WarnS("error in nc_rComplete");
    4377     // just go on..
     4394#endif
     4395      // just go on..
    43784396    }
    43794397  }
     
    44444462    if ( nc_rComplete(r, new_r, false) ) // no qideal!
    44454463    {
     4464#ifndef NDEBUG
    44464465      WarnS("error in nc_rComplete");      // cleanup?//      rDelete(res);//      return r;      // just go on..
     4466#endif     
    44474467    }
    44484468  }
     
    44934513          if ( nc_rComplete(r, new_r, false) ) // no qideal!
    44944514          {
     4515#ifndef NDEBUG
    44954516            WarnS("error in nc_rComplete");   // cleanup?//      rDelete(res);//      return r;      // just go on..
     4517#endif
    44964518          }
    44974519        }
     
    45204542        if( nc_SetupQuotient(new_r, old_r, true) )
    45214543        {
     4544#ifndef NDEBUG
    45224545          WarnS("error in nc_SetupQuotient"); // cleanup?      rDelete(res);       return r;  // just go on...?
     4546#endif
    45234547        }
    45244548#endif
     
    45544578      if ( nc_rComplete(old_r, new_r, false) ) // no qideal!
    45554579      {
     4580#ifndef NDEBUG
    45564581        WarnS("error in nc_rComplete"); // cleanup?      rDelete(res);       return r;  // just go on...?
    4557       }
     4582#endif
     4583        }
    45584584    }
    45594585    assume(rIsPluralRing(new_r) == rIsPluralRing(old_r));
     
    45694595        if( nc_SetupQuotient(new_r, old_r, true) )
    45704596        {
     4597#ifndef NDEBUG
    45714598          WarnS("error in nc_SetupQuotient"); // cleanup?      rDelete(res);       return r;  // just go on...?
     4599#endif
    45724600        }
    45734601#endif
     
    47074735      if ( nc_rComplete(r, res, false) ) // no qideal!
    47084736      {
     4737#ifndef NDEBUG
    47094738        WarnS("error in nc_rComplete");      // cleanup?//      rDelete(res);//      return r;      // just go on..
     4739#endif
    47104740      }
    47114741    }
     
    48984928  {
    48994929//      (currRing->typ[currRing->typ[0].data.isTemp.suffixpos].data.is.limit == k)
     4930#ifndef NDEBUG
    49004931    Warn("rSetSyzComp(%d) in an IS ring! Be careful!", k);
     4932#endif
    49014933  } else
    49024934  if ((currRing->order[0]!=ringorder_c) && (k!=0)) // ???
Note: See TracChangeset for help on using the changeset viewer.