[Numpy-discussion] assignment to matrix slice in Numeric bug/feature?

Roman Suzi rnd at onego.ru
Sat May 25 05:11:04 EDT 2002


On Tue, 21 May 2002, Roman Suzi wrote:

>hello,
>
>I've found that the following fragment of code gives an error while with
>other shapes of b there is no problem:

...

> The mentioned behaviour looks like a bug, because
> a[1:3,1:2] and b have the same shape and according to docs
> b must be copied to a-slice 1:1...
>
> Numeric is version 21.0, Python 2.1 under Linux RedHat 7.2.
>
> Thank you in advance!

For the record:

- the bug is fixed in CVS.

Thank you, guys!

Sincerely yours, Roman Suzi
-- 
\_ Russia \_ Karelia \_ Petrozavodsk \_ rnd at onego.ru \_
\_ Saturday, May 25, 2002 \_ Powered by Linux RedHat 7.2 \_
\_ "... All the world's a stage, and I missed rehearsal." \_





More information about the NumPy-Discussion mailing list