Merge pull request #699 from antmicro/007-keyerror

fuzzers: 007: fix linprog callback to fit scipy 1.2.1
This commit is contained in:
litghost 2019-03-06 08:28:28 -08:00 committed by GitHub
commit 885d5599aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -100,9 +100,9 @@ def run_corner(
printn = [0]
def callback(xk, **kwargs):
iters[0] = kwargs['nit']
iters[0] = xk['nit']
if time.time() - tlast[0] > 1.0:
sys.stdout.write('I:%d ' % kwargs['nit'])
sys.stdout.write('I:%d ' % xk['nit'])
tlast[0] = time.time()
printn[0] += 1
if printn[0] % 10 == 0:

View File

@ -8,7 +8,7 @@ progressbar2
pyjson5
pytest
pyyaml
scipy
scipy==1.2.1
simplejson
sympy
textx