Changeset dccd6d in git for factory/algext.cc


Ignore:
Timestamp:
May 7, 2012, 5:39:41 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5c0bf0e51f96eb0ce4f2b693d76e67b7ab513d4eedd81896e7de840500b43eca5d7771d36a211f79
Parents:
e7676af1109530ff2efd9495bfdb0fa2cedc576a517530b37f04ee705b7b271243a265748c447cf5
Message:
Merge pull request #101 from mmklee/factory_without_ntl

fix: issues with building factory without NTL
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/algext.cc

    re7676a rdccd6d  
    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.