ts. This info got me a
more useful error message, which I used to make this commit to my local
fork:
https://github.com/mttp/numpy/commit/480c51b17c608a2cbcca65b8a633dbe1b1654070
Seems to fix the problem.
--
Matt Pagan
m...@pagan.io
PGP: 0xE9284418E360583C
___
of
my patch? Should I make a github pull request?
- --
Matt Pagan
m...@pagan.io
PGP: 0xE9284418E360583C
-BEGIN PGP SIGNATURE-
iQIcBAEBCgAGBQJTMGKDAAoJEOkoRBjjYFg8DXwQALE95t9SS8xsFD0PpO3SwZNQ
v2SxcnzH123mcrq55zzzHGgh9OUz694fqky2thyiazhKf5sSVka1Gf4b6U06nXE7
OG7+i9qGZgAf6cLBItmPYp2F
if j==None and t==None:
+raise ValueError("One or more of %s and %s must be set." % \
+('j', 't'))
+return None
+elif t==None:
+swap = np.array(m[i])
+m[i] = m[j]
+m[j] = swap
+return m
+ elif j==None:
+