[SciPy-user] different behaviour in asfarray(None) effects scikits.openopt

dmitrey dmitrey.kroshko@scipy....
Tue Apr 22 11:12:29 CDT 2008


lorenzo bolla wrote:
> numpy.asfarray(None) behaviour from numpy version 1.0.5 to 1.1.0 
> breaks scikits.openopt: in particular the file 
> scikits/openopt/Kernel/BaseProblem.py
>
> a possible patch is as follows:
>
> $ diff BaseProblem.py.orig BaseProblem.py
> 120c120
> <         self.x0 = None
> ---
> >         self.x0 = nan
>
> L.
>
Ok, I'll fix it today.
Regards, D.


More information about the SciPy-user mailing list