Changeset ff3a4f in git


Ignore:
Timestamp:
Feb 22, 2012, 4:42:59 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4188d308699580d975efd0f6cca8dcb41c396f70')
Children:
e7a4879c690d09991f2ce31d7d3c93c3ee7bcd5a
Parents:
e2c18174ad1b4c2b871cb7dbdd0d2d4fc6ec8296
git-author:
Martin Lee <martinlee84@web.de>2012-02-22 16:42:59+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-02-22 17:08:10+01:00
Message:
chg: enable assertions by default
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/configure.ac

    re2c181 rff3a4f  
    7676AC_ARG_ENABLE(
    7777  assertions,
    78   [AS_HELP_STRING([--enable-assertions],[build Factory with assertions activated])],
     78  [AS_HELP_STRING([--disable-assertions],[build Factory with no assertions])],
    7979  ,
    80   enable_assertions=no)
     80  enable_assertions=yes)
    8181
    8282AC_ARG_ENABLE(
  • factory/gfops.cc

    re2c181 rff3a4f  
    3131
    3232const int gf_primes_len = 42;
    33 //static unsigned short gf_primes [] =
    34 //{
    35 //      2,   3,   5,   7,  11,  13,  17,  19,
    36 //     23,  29,  31,  37,  41,  43,  47,  53,
    37 //     59,  61,  67,  71,  73,  79,  83,  89,
    38 //     97, 101, 103, 107, 109, 113, 127, 131,
    39 //    137, 139, 149, 151, 157, 163, 167, 173,
    40 //    179, 181, 191, 193, 197, 199, 223, 211,
    41 //    227, 229, 233, 239, 241, 251
    42 //};
     33#ifndef NOASSERT
     34static unsigned short gf_primes [] =
     35{
     36      2,   3,   5,   7,  11,  13,  17,  19,
     37     23,  29,  31,  37,  41,  43,  47,  53,
     38     59,  61,  67,  71,  73,  79,  83,  89,
     39     97, 101, 103, 107, 109, 113, 127, 131,
     40    137, 139, 149, 151, 157, 163, 167, 173,
     41    179, 181, 191, 193, 197, 199, 223, 211,
     42    227, 229, 233, 239, 241, 251
     43};
     44#endif
    4345
    4446int gf_q = 0;
     
    190192}
    191193
     194#ifndef NOASSERT
    192195static bool gf_valid_combination ( int p, int n )
    193196{
     
    211214    }
    212215}
     216#endif
    213217
    214218void gf_setcharacteristic ( int p, int n, char name )
Note: See TracChangeset for help on using the changeset viewer.