Skip to content

Commit

Permalink
Work around test_lll_lll failure on 32-bit architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
infinity0 authored and malb committed Dec 29, 2017
1 parent 04d9283 commit 38f0982
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_lll.py
Expand Up @@ -4,7 +4,13 @@
from fpylll.config import float_types, int_types
from copy import copy

dimensions = ((0, 0), (1, 1), (2, 2), (3, 3), (10, 10), (50, 50), (60, 60),)
import sys

if sys.maxsize > 2**32:
dimensions = ((0, 0), (1, 1), (2, 2), (3, 3), (10, 10), (50, 50), (60, 60))
else:
# work around https://github.com/fplll/fpylll/issues/112
dimensions = ((0, 0), (1, 1), (2, 2), (3, 3), (10, 10), (20, 20), (30, 30))


def make_integer_matrix(m, n, int_type="mpz"):
Expand Down

0 comments on commit 38f0982

Please sign in to comment.