Changeset ea1d44c in git


Ignore:
Timestamp:
Feb 28, 2012, 2:28:47 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
42af50525c9435e916c3d1356060b7605d90a28e
Parents:
67ed7453c29d77d1c838dfcc5a2cc5ad7b629695
git-author:
Martin Lee <martinlee84@web.de>2012-02-28 14:28:47+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:26+02:00
Message:
chg: count factors only in debug version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    r67ed74 rea1d44c  
    793793      else if (rField_is_Extension(r))     /* Q(a), Fp(a) */
    794794      {
     795#ifndef NDEBUG
    795796        intvec *w=NULL;
    796797        if (v!=NULL) w=*v;
     798#endif
    797799        if (r->cf->extRing->qideal==NULL)
    798800        {
     801#ifdef NDEBUG
     802          res->m[j]= convFactoryPSingTrP( J.getItem().factor(),r );
     803#else
    799804          if(!count_Factors(res,w,j,ff,convFactoryPSingTrP( J.getItem().factor(),r ),r))
    800805          {
     
    803808            res->m[j]=p_One(r);
    804809          }
     810#endif
    805811        }
    806812        else
    807813        {
     814#ifdef NDEBUG
     815          res->m[j]= convFactoryAPSingAP( J.getItem().factor(),r );
     816#else
    808817          if (!count_Factors(res,w,j,ff,convFactoryAPSingAP( J.getItem().factor(),r ),r))
    809818          {
     
    812821            res->m[j]=p_One(r);
    813822          }
     823#endif
    814824        }
    815825      }
    816826    }
     827#ifndef NDEBUG
    817828    if (rField_is_Extension(r) && (!p_IsConstantPoly(ff,r)))
    818829    {
     
    863874      }
    864875    }
     876#endif
    865877    p_Delete(&ff,r);
    866878    if (N!=NULL)
Note: See TracChangeset for help on using the changeset viewer.