aboutsummaryrefslogtreecommitdiff
path: root/gensvm/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'gensvm/util.py')
-rw-r--r--gensvm/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gensvm/util.py b/gensvm/util.py
index 8d2a3e4..0b7cd1d 100644
--- a/gensvm/util.py
+++ b/gensvm/util.py
@@ -24,7 +24,7 @@ def get_ranks(x):
x = np.ravel(np.asarray(x))
l = len(x)
r = 1
- ranks = np.zeros((l, ))
+ ranks = np.zeros((l,))
while not all([k is None for k in x]):
m = min([k for k in x if not k is None])
idx = [1 if k == m else 0 for k in x]