Darren Dale wrote:
I just built Numeric 24.0 and 24.1 against ATLAS on a 64 bit athlon system. I get the following error for both packages.
python test.py ........E.................................... ====================================================================== ERROR: Test the diagonal function. ---------------------------------------------------------------------- Traceback (most recent call last): File "test.py", line 584, in testDiagonal assert_eq(Numeric.diagonal(c,1), [[2,7,4], [2,7,4]]) File "test.py", line 28, in assert_eq assert eq(a,b) File "test.py", line 23, in eq raise ValueError("sequences have different shapes:\na%s=%r\nb%s=%r" % ValueError: sequences have different shapes: a(4, 2)=array([[5, 1], [6, 2], [7, 3], [8, 4]]) b(2, 3)=[[2, 7, 4], [2, 7, 4]]
This error is a test problem not worth bothering with. The (>2d) diagonal function was always broken under Numeric. It was changed a while ago. The test is broken, but this doesn't mean anything is wrong with Numeric.
I also get the following error when I run newscipy's test(5,10):
bench_random (scipy.fftpack.basic.test_basic.test_fft) Fast Fourier Transform ================================================= | real input | complex input ------------------------------------------------- size | scipy | Numeric | scipy | Numeric -------------------------------------------------
100 | 0.10Segmentation fault
Curious. Did you rebuild scipy completely? -Travis