[Matrix-SIG] Numeric Nits
David Ascher
da@ski.org
Tue, 22 Jun 1999 11:37:22 -0700 (Pacific Daylight Time)
On Tue, 22 Jun 1999, Rick White wrote:
> > a = arange(10)
> > b = a * 3
> > return a, b
> >
> >At the point of the PyArray_Multiply, the refcount of its first argument
> >(a) is 1. However, it is not a temporary variable. Or did I miss
> >something?
>
> I think the refcount for (a) would be 2, one for the reference
> held by the variable 'a' and one for the reference on the stack.
Gotcha. You're right, of course.
--david