[SciPy-user] shape mismatch: objects cannot be broadcast to a single shape

Nils Wagner nwagner at iam.uni-stuttgart.de
Thu Jun 22 13:45:40 EDT 2006


On Thu, 22 Jun 2006 12:21:15 -0500
  Robert Kern <robert.kern at gmail.com> wrote:
> Nils Wagner wrote:
>> Please can you run the script
> 
> No, I won't run your script. You show me the output you 
>get and describe to me 
> the output you were expecting and why. *Then* I might 
>run the script if there 
> might be problem that will differ between 
>machines/installed versions or if I 
> want to explore a problem that's displayed. But I'm not 
>going to read your mind.
> 
> -- 
OK I didn't expect nan

>>> special.jn(2,0.1)
0.0012489586587999691
>>> special.jn(2,0.01)
1.2499895833805591e-05
>>> special.jn(2,0.0001)
1.2500001157853685e-09
>>> special.jn(2,0.0000001)
1.3897845548005439e-15
>>> special.jn(2,0.0000000001)
0.0
>>> special.jn(2,0.000000000)
nan


>>> scipy.__version__
'0.5.0.1988'



Nils


> Robert Kern
> 
> "I have come to believe that the whole world is an 
>enigma, a harmless enigma
>  that is made terrible by our own mad attempt to 
>interpret it as though it had
>  an underlying truth."
>   -- Umberto Eco
> 
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

  




More information about the SciPy-User mailing list