Changeset 805db88 in git for factory


Ignore:
Timestamp:
Nov 14, 2013, 7:57:20 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
4b5171ff486c46e0d3f30c8810fc2bb7ebd00157
Parents:
b5f27dd8b00738efde14a72f129d4b6173d951f4
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-14 19:57:20+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-11-15 14:58:04+01:00
Message:
Avoid "if ((P)) " since clang treats such statements specially
Location:
factory/libfac/factor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/libfac/factor/Factor.cc

    rb5f27dd r805db88  
    845845  // search an "optimal" main variavble
    846846  int mv=F.level();
    847   if ((mv != LEVELBASE) /* && (! F.isUnivariate()) */)
     847  if (/*(*/ mv != LEVELBASE /*)*/) /* && (! F.isUnivariate()) */
    848848  {
    849849     mv=find_mvar(F);
  • factory/libfac/factor/SqrFree.cc

    rb5f27dd r805db88  
    219219  for (int k=1; k<=n; k++)
    220220  {
    221     if ((mipo.isZero())/*||(k!=1)*/)
     221    if (/*(*/ mipo.isZero() /*)*/) /*||(k!=1)*/
    222222    {
    223223      g = swapvar(f,k,n); g = content(g);
     
    266266    for (int k=1; k<=n; k++)
    267267    {
    268       if ((mipo.isZero())/*||(k!=1)*/)
     268      if (/*(*/ mipo.isZero() /*)*/) /*||(k!=1)*/
    269269      {
    270270        g=swapvar(f,k,n) ;
Note: See TracChangeset for help on using the changeset viewer.