From eb767d9967c1890912b5e65004c11bd71855bb35 Mon Sep 17 00:00:00 2001 From: zpan1 <72054510+zpan1@users.noreply.github.com> Date: Wed, 10 Feb 2021 19:51:05 -0600 Subject: [PATCH] fix: __setitem__ == to single = --- analysis-master/tra_analysis/Array.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analysis-master/tra_analysis/Array.py b/analysis-master/tra_analysis/Array.py index bd0b626a..22332fb9 100644 --- a/analysis-master/tra_analysis/Array.py +++ b/analysis-master/tra_analysis/Array.py @@ -67,7 +67,7 @@ class Array(): # tests on nd arrays independent of basic_stats def __setitem__(self, key, value): - self.array[key] == value + self.array[key] = value def normalize(self, array): @@ -149,4 +149,4 @@ class Array(): # tests on nd arrays independent of basic_stats else: return binary_search(arr, mid + 1, high, x) else: - return -1 \ No newline at end of file + return -1