mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +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[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