bug fixes

This commit is contained in:
ltcptgeneral 2020-05-12 20:39:23 -05:00
parent 16603392c9
commit 9be1168e09

View File

@ -984,7 +984,7 @@ class ArrayTest(): # tests on nd arrays independent of basic_stats
a = np.atleast_1d(np.linalg.norm(array))
a[a==0] = 1
return array / np.expand_dims(a)
return array / np.expand_dims(a, -1)
def add(self, *args):