From 952981cdb9b0810612ba1e55544ee9908ad297c5 Mon Sep 17 00:00:00 2001 From: ltcptgeneral <35508619+ltcptgeneral@users.noreply.github.com> Date: Tue, 12 May 2020 20:39:23 -0500 Subject: [PATCH] bug fixes --- analysis-master/analysis/analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis-master/analysis/analysis.py b/analysis-master/analysis/analysis.py index fbd0d557..d062d14b 100644 --- a/analysis-master/analysis/analysis.py +++ b/analysis-master/analysis/analysis.py @@ -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):