fplll / fpylll

A Python interface for https://github.com/fplll/fplll
GNU General Public License v2.0
118 stars 60 forks source link

Test failure (averaged_simulate_prob) on x86_64-darwin #227

Closed collares closed 2 years ago

collares commented 2 years ago
=================================== FAILURES ===================================
_________ [doctest] fpylll.tools.bkz_simulator.averaged_simulate_prob __________
294     :param param: BKZ parameters
295     :tries: number of iterations to average over. Default: 10
296     EXAMPLE:
297         >>> from fpylll import IntegerMatrix, GSO, LLL, FPLLL, BKZ
298         >>> FPLLL.set_random_seed(1337)
299         >>> A = LLL.reduction(IntegerMatrix.random(100, "qary", bits=30, k=50))
300         >>> M = GSO.Mat(A)
301         >>> from fpylll.tools.bkz_simulator import averaged_simulate_prob
302         >>> _ = averaged_simulate_prob(M, BKZ.Param(block_size=40, max_loops=4))
303         >>> print(_[0][:3])
Expected:
    [4663149828.487716, 4267813469.1884093, 4273411937.5775056]
Got:
    [4663149828.487716, 4267813469.188409, 4273411937.5775056]
collares commented 2 years ago

Thank you!