aboutsummaryrefslogtreecommitdiff
path: root/gensvm/util.py
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-01-15 12:21:24 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-01-15 12:21:24 +0000
commitd1ddd504802072d930170b802d2cf98fb309cd46 (patch)
tree2421ba88a37d686eca467cf85960ab7da4ae991a /gensvm/util.py
parentMove wrapper to better folder structure (diff)
downloadpygensvm-d1ddd504802072d930170b802d2cf98fb309cd46.tar.gz
pygensvm-d1ddd504802072d930170b802d2cf98fb309cd46.zip
Code formatting with Black
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]