Skip to content

Commit 719e188

Browse files
authored
Merge pull request #1031 from mathics/numpy-matrix-remove
numpy matrix is deprecated so remove it
2 parents 2129ec7 + 3ddac6d commit 719e188

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mathics/builtin/pympler/asizeof.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,8 +1502,7 @@ def _numpy_kwds(obj):
15021502
_all_lens += (_len_numpy,)
15031503

15041504
_numpy_types = ()
1505-
for d in (numpy.array(range(0)), numpy.arange(0),
1506-
numpy.matrix(range(0)), numpy.ma.masked_array([])):
1505+
for d in (numpy.array(range(0)), numpy.arange(0)):
15071506
t = type(d)
15081507
if t not in _numpy_types:
15091508
_numpy_types += (t,)

0 commit comments

Comments
 (0)