[SciPy-Dev] Bug in place_poles

Irvin Probst irvin.probst at ensta-bretagne.fr
Tue Oct 6 03:39:49 EDT 2015


Hi,
FYI there is a bug in place_poles, the return values rtol and nb_iter 
are supposed to be np.nan when there is nothing to optimize and 0 when 
the solution is unique but the function does it the other way around.
Note that the doc contains an error too, it is stated:

rtol will be NaN if the optimisation algorithms can not run, i.e when 
B.shape[1] == 1, or 0 when the solution is unique.

But one should read:

rtol will be NaN if the optimisation algorithms can not run,  or 0 when 
the solution is unique i.e when B.shape[1] == 1.

I'll fix this ASAP, in the meantime please consider this bug as already 
acknowledged if anyone reports it.

Regards.

-- 
Irvin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20151006/d90352b0/attachment.html>


More information about the SciPy-Dev mailing list