diff options
author | lloyd <[email protected]> | 2009-11-13 23:35:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-11-13 23:35:05 +0000 |
commit | 9ea67516fc88984c865582622de3bea0cd5cbc8b (patch) | |
tree | 6bbe1e7cfd261df70df3e91d6100930922e173f8 /src/math | |
parent | d9dd962ed735285a259c7f44e704932f3ddb74b4 (diff) |
Make `struct mapping tests[]` non-static in miller_rabin_test_iterations
to work around gcc bug 42010
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/numbertheory/numthry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/numbertheory/numthry.cpp b/src/math/numbertheory/numthry.cpp index 448681333..5e36288ff 100644 --- a/src/math/numbertheory/numthry.cpp +++ b/src/math/numbertheory/numthry.cpp @@ -20,7 +20,7 @@ u32bit miller_rabin_test_iterations(u32bit bits, bool verify) { struct mapping { u32bit bits; u32bit verify_iter; u32bit check_iter; }; - static const mapping tests[] = { + const mapping tests[] = { { 50, 55, 25 }, { 100, 38, 22 }, { 160, 32, 18 }, |