Closed collares closed 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]
Thank you!