Changeset 517530 in git for factory/algext.cc


Ignore:
Timestamp:
May 7, 2012, 5:34:51 PM (11 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
dccd6db99cc44c93669e843ddb6e06d2682769b8
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a
Message:
fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/algext.cc

    re7676a r517530  
    1313#endif
    1414#endif
     15
     16#include "cf_assert.h"
    1517
    1618#include "templates/ftmpl_functions.h"
     
    589591}
    590592
    591 #ifdef HAVE_NTL
    592593static CanonicalForm
    593594myicontent ( const CanonicalForm & f, const CanonicalForm & c )
    594595{
     596#ifdef HAVE_NTL
    595597    if (f.isOne() || c.isOne())
    596598      return 1;
     
    620622        return g;
    621623    }
    622 }
     624#else
     625    return 1;
    623626#endif
     627}
    624628
    625629CanonicalForm
Note: See TracChangeset for help on using the changeset viewer.