diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-01-15 12:21:24 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-01-15 12:21:24 +0000 |
| commit | d1ddd504802072d930170b802d2cf98fb309cd46 (patch) | |
| tree | 2421ba88a37d686eca467cf85960ab7da4ae991a /gensvm/util.py | |
| parent | Move wrapper to better folder structure (diff) | |
| download | pygensvm-d1ddd504802072d930170b802d2cf98fb309cd46.tar.gz pygensvm-d1ddd504802072d930170b802d2cf98fb309cd46.zip | |
Code formatting with Black
Diffstat (limited to 'gensvm/util.py')
| -rw-r--r-- | gensvm/util.py | 2 |
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] |
