refactor: unnecessary brackets removed.

This commit is contained in:
Fabian Joswig 2022-11-30 16:54:12 +00:00
parent ad1296ae47
commit 873627fd95
No known key found for this signature in database

View file

@ -328,7 +328,7 @@ class Corr:
except Exception:
all_vecs.append(None)
if sort == "Eigenvector":
if (ts is None):
if ts is None:
raise Exception("ts is required for the Eigenvector sorting method.")
all_vecs = _sort_vectors(all_vecs, ts)