mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-25 17:19:09 +00:00
bug fixes
This commit is contained in:
parent
16603392c9
commit
9be1168e09
@ -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):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user