Changeset 82db91a in git


Ignore:
Timestamp:
Oct 13, 2011, 9:27:11 PM (11 years ago)
Author:
Niels Ranosch <ranosch@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
c770dca4360b7797649175eadf26f907f8c1a70c
Parents:
a4b94909b4b3ff8277ebb757e522561d66ee7d17
git-author:
Niels Ranosch <ranosch@mfo.de>2011-10-13 21:27:11+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:14:04+01:00
Message:
FIX: function-macros should act as functions even if "empty", esp. in if-then block.
Location:
factory
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_cyclo.cc

    ra4b949 r82db91a  
    8585  if (j >= 31397)
    8686    fail= true;
    87   ASSERT (j < 31397, "integer factorizer ran out of primes") //sic
     87  ASSERT (j < 31397, "integer factorizer ran out of primes"); //sic
    8888  return result;
    8989}
  • factory/fac_univar.cc

    ra4b949 r82db91a  
    303303        e = f - g * h;
    304304        modulus = power( CanonicalForm(p), kvals[j] );
    305         if ( mod( f - g * h, modulus ) != 0 )
     305        if ( mod( f - g * h, modulus ) != 0 ) {
    306306            DEBOUTLN( cerr, "error at lift stage " << i );
     307        }
    307308        i++;
    308309    }
  • factory/sm_sparsemod.cc

    ra4b949 r82db91a  
    409409  primig = MM(C[2]);
    410410
    411   if ( level( primif) != level( primig ) )
    412     ASSERT( 0, "this should n e v e r happen !!!!" );
     411  ASSERT((level(primif) != level(primig)),
     412         "this should n e v e r happen !!!!");
    413413
    414414  //cout << " primif = " << primif << endl;
Note: See TracChangeset for help on using the changeset viewer.