Changeset 55b452 in git


Ignore:
Timestamp:
Jun 19, 2014, 10:52:22 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
85d8e82781d0ff9a659021b880317d46083f09b5
Parents:
1a06f8ca3cdadfe79135566fe65eebdfa674c72d
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-06-19 22:52:22+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2014-06-20 09:41:42+02:00
Message:
chg: fixed wrong warning, better comment: try_omit_comp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/ring.cc

    r1a06f8 r55b452  
    25632563 */
    25642564ring rModifyRing(ring r, BOOLEAN omit_degree,
    2565                          BOOLEAN omit_comp,
     2565                         BOOLEAN try_omit_comp,
    25662566                         unsigned long exp_limit)
    25672567{
     
    26222622      case ringorder_C:
    26232623      case ringorder_c:
    2624         if (!omit_comp)
     2624        if (!try_omit_comp)
    26252625        {
    26262626          order[j]=r_ord; /*r->order[i]*/;
     
    26302630          j--;
    26312631          need_other_ring=TRUE;
    2632           omit_comp=FALSE;
     2632          try_omit_comp=FALSE;
    26332633          copy_block_index=FALSE;
    26342634        }
     
    26682668      case ringorder_IS:
    26692669      {
    2670         if (omit_comp)
     2670        if (try_omit_comp)
    26712671        {
    2672 #ifndef SING_NDEBUG
    2673           Warn("Error: WRONG USAGE of rModifyRing: cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord);
    2674 #endif
    2675           omit_comp = FALSE;
     2672          // tried, but cannot omit component due to the ordering block [%d]: %d (ringorder_IS)", i, r_ord
     2673          try_omit_comp = FALSE;
    26762674        }
    26772675        order[j]=r_ord; /*r->order[i];*/
     
    26822680      {
    26832681        assume((i == 0) && (j == 0));
    2684         if (omit_comp)
     2682        if (try_omit_comp)
    26852683        {
    26862684#ifndef SING_NDEBUG
    26872685          Warn("WRONG USAGE? of rModifyRing: omitting component due to the ordering block [%d]: %d (ringorder_s)", i, r_ord);
    26882686#endif
    2689           omit_comp = FALSE;
     2687          try_omit_comp = FALSE;
    26902688        }
    26912689        order[j]=r_ord; /*r->order[i];*/
Note: See TracChangeset for help on using the changeset viewer.