Re: [Numpy-discussion] Undefined "wrap" in linalg.py:tensorsolve.py

2008-06-30 Thread Robert Kern
On Mon, Jun 30, 2008 at 12:17, Alan McIntyre <[EMAIL PROTECTED]> wrote: > While I was working on the doctest tweaks, I ran across a doctest that > failed because tensorsolve uses a function "wrap" that's not defined. > It seems that I should make the following change to fix it (at the > start of te

[Numpy-discussion] Undefined "wrap" in linalg.py:tensorsolve.py

2008-06-30 Thread Alan McIntyre
While I was working on the doctest tweaks, I ran across a doctest that failed because tensorsolve uses a function "wrap" that's not defined. It seems that I should make the following change to fix it (at the start of tensorsolve's code) : -a = asarray(a) +a,wrap = _makearray(a) Doing so s