We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0100e0e commit 8caf74aCopy full SHA for 8caf74a
tests/test_array.py
@@ -11,15 +11,11 @@ def vectortypes(*coeffs):
11
np.array(coeffs),
12
np.array(coeffs).reshape(1, -1),
13
np.array(coeffs).reshape(-1, 1),
14
- np.matrix(coeffs),
15
- np.matrix(coeffs).transpose(),
16
]
17
18
19
def vector_id(vector):
20
- if isinstance(vector, np.matrix):
21
- return 'matrix, shape=' + repr(vector.shape)
22
- elif isinstance(vector, np.ndarray):
+ if isinstance(vector, np.ndarray):
23
return 'array, shape=' + repr(vector.shape)
24
return type(vector).__name__
25
0 commit comments