I am on OS X 10.5.1 and get a test failure with the latest numpy svn.
(Previously ran with no errors with svn as of a few weeks ago).
test_zero_probability (numpy.tests.test_random.TestMultinomial) ... ok
==
ERROR: Ticket #396
--
Neal Becker wrote:
> I've never liked that python silently ignores slices with out of range
> indexes. I believe this is a source of bugs (it has been for me). It
> goes completely counter to the python philosophy.
>
> I vote to ban them from numpy.
from numpy import array
x = array (
Am Montag, 14. Januar 2008 19:59:15 schrieb Neal Becker:
> I don't want to use FROM_O here, because I really can only handle certain
> types. If I used FROM_O, then after calling FROM_O, if the type was not
> one I could handle, I'd have to call FromAny and convert it.
What is the problem with tha
Folks,
numpy/scipy builds on my mac 10.4.9 exec g++ not gcc
but g++ assumes c++ even for .c files => lts of errors.
I changed the link /usr/bin/g++ --> gcc, must be a better way ?
Seems to me that g++ on numpy C is a bug:
numpy builds on macs should run either
gcc
or g++ -x c
I've started to use numpy (1.0.4) and matplotlib but it suddenly quit working.
Now when I import a simple test script:
import numpy
numpy.linspace(0,1)
it gives the following error:
>>>
Traceback (most recent call last):
File "D:/anothertest.py", line 1, in
import numpy
File "C:\Pytho
Kevin Christman wrote:
> I've started to use numpy (1.0.4) and matplotlib but it suddenly quit
> working. Now when I import a simple test script:
> import numpy
> numpy.linspace(0,1)
>
> it gives the following error:
>
> Traceback (most recent call last):
> File "D:/anothertest.py", line 1, i
Hans Meine wrote:
> Am Montag, 14. Januar 2008 19:59:15 schrieb Neal Becker:
>> I don't want to use FROM_O here, because I really can only handle certain
>> types. If I used FROM_O, then after calling FROM_O, if the type was not
>> one I could handle, I'd have to call FromAny and convert it.
> Wh
That's it. I had named one of my files new.py. Thanks so much; now I have one
less evidence that I'm going crazy.
Kevin
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_
On Jan 16, 2008 11:30 AM, Neal Becker <[EMAIL PROTECTED]> wrote:
> Hans Meine wrote:
>
> > Am Montag, 14. Januar 2008 19:59:15 schrieb Neal Becker:
> >> I don't want to use FROM_O here, because I really can only handle
> certain
> >> types. If I used FROM_O, then after calling FROM_O, if the type