Changeset 2b87ac9 in git


Ignore:
Timestamp:
Jan 15, 2009, 11:33:24 AM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
81733986448f9a0d2629201f6509a9ea8f70fb38
Parents:
2f2bb21b64b1321056a44c8c3cd372675d55ea9b
Message:
*hannes: optim


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

Legend:

Unmodified
Added
Removed
  • kernel/polys.cc

    r2f2bb21 r2b87ac9  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.34 2008-07-25 14:37:55 Singular Exp $ */
     4/* $Id: polys.cc,v 1.35 2009-01-15 10:33:24 Singular Exp $ */
    55
    66/*
     
    465465
    466466  if (q==NULL) return NULL;
     467  BOOLEAN use_setmcomp=rOrd_SetCompRequiresSetm(currRing);
    467468  if (pGetComp(q)==k)
    468469  {
     
    471472    {
    472473      pSetComp(q,0);
    473       pSetmComp(q);
     474      if (use_setmcomp) pSetmComp(q);
    474475      qq = q;
    475476      pIter(q);
     
    483484  {
    484485    pDecrComp(q);
    485     pSetmComp(q);
     486    if (use_setmcomp) pSetmComp(q);
    486487  }
    487488  poly pNext_q;
     
    503504      pNext(qq) =NULL;
    504505      pSetComp(qq,0);
    505       pSetmComp(qq);
     506      if (use_setmcomp) pSetmComp(qq);
    506507    }
    507508    else
     
    511512      {
    512513        pDecrComp(q);
    513         pSetmComp(q);
     514        if (use_setmcomp) pSetmComp(q);
    514515      }
    515516    }
Note: See TracChangeset for help on using the changeset viewer.