Closed sclamons closed 1 year ago
When disp=True, minimizeSPSA prints 100 reports. Part of the calculation of when to print is
k % (niter//100)
which is a mod-by-zero error if niter<100.
Thanks! This is fixed in c2a912ea65f33c78bb4d3b8baf88b7bbdb64433f
When disp=True, minimizeSPSA prints 100 reports. Part of the calculation of when to print is
k % (niter//100)
which is a mod-by-zero error if niter<100.