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

Alan McIntyre alan.mcintyre@gmail....
Mon Jun 30 12:17:30 CDT 2008

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 seems to make the example run, but I just wanted to see if
this was the appropriate thing to do.


More information about the Numpy-discussion mailing list