That particular test in test_old_ma will never work: the .data of a
masked array is implemented as a property, so its id will change from
one test to another.
On 3/20/08, Matthieu Brucher <[EMAIL PROTECTED]> wrote:
> Hi,
>
> With latest SVN and Ubuntu 7.10 (Python 2.5.1, gcc 4.1.3, 32bits computer
Actually, there's even faster than that:
a = 3
a = array(a, ndmin=1)
atleast_1d is nothing but a wrapper function, that works best when used with
several inputs. When using only one array as inputs, the trick above should
be more appropriate.
On 3/30/07, Bill Baxter <[EMAIL PROTECTED]> wrote