mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
bug fixes
This commit is contained in:
parent
6fee42f6d2
commit
952981cdb9
@ -984,7 +984,7 @@ class ArrayTest(): # tests on nd arrays independent of basic_stats
|
|||||||
|
|
||||||
a = np.atleast_1d(np.linalg.norm(array))
|
a = np.atleast_1d(np.linalg.norm(array))
|
||||||
a[a==0] = 1
|
a[a==0] = 1
|
||||||
return array / np.expand_dims(a)
|
return array / np.expand_dims(a, -1)
|
||||||
|
|
||||||
def add(self, *args):
|
def add(self, *args):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user