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

dmitrey dmitrey.kroshko at scipy.org
Tue Apr 22 12:12:29 EDT 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