[PYTHON MATRIX-SIG] NumPy test failing
Jim Hugunin
hugunin@mit.edu
Tue, 25 Feb 1997 12:54:58 -0500
Brien Barton writes:
> I installed the new NumPy 1.0b1 on an SGI system and tried to run the
> test_all.py script. It gets an error on the test that tries to verify
that,
> if a is an array, then array(a) returns a copy of a. The lines from
> test_items.py are:
>
> b = array(a)
> b[0] = 66
> a[0]
> >0
>
> This test is apparently trying to verify that after the line "b =
array(a)",
> b and a are two different objects, but on my system they are the same.
> Anyone else seeing this?
This is a bug related to the new support I added to the array function for
keyword arguments. If you use b = array(a, copy=1) explicitly this will
work. Otherwise, I've fixed this and it shouldn't be a problem in the next
beta release.
-Jim
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________