Changeset 57daf8 in git


Ignore:
Timestamp:
Apr 4, 2012, 12:14:08 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
27ab369ec1d32a8c8cc326b5ae84f5fa53b6be80
Parents:
e9a5b62e88882c285577614f2fe50e8190ca8cf6
git-author:
Martin Lee <martinlee84@web.de>2012-04-04 12:14:08+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 15:01:17+02:00
Message:
chg: switched off assert for positive exponent since I need Laurent polynomials in cfNewtonPolygon.cc
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/canonicalform.cc

    re9a5b62 r57daf8  
    18481848power ( const Variable & v, int n )
    18491849{
    1850     ASSERT( n >= 0, "illegal exponent" );
     1850    //ASSERT( n >= 0, "illegal exponent" );
    18511851    if ( n == 0 )
    18521852        return 1;
  • factory/cf_inline.cc

    re9a5b62 r57daf8  
    223223// current domain.
    224224//
    225 // `e' has to be positive.
    226 //
    227225// Type info:
    228226// ----------
     
    234232    : value( CFFactory::poly( v, e ) )
    235233{
    236     ASSERT( e > 0, "math error: exponent has to be positive" );
     234    //ASSERT( e > 0, "math error: exponent has to be positive" );
    237235}
    238236//}}}
Note: See TracChangeset for help on using the changeset viewer.