aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py
index e30d497..a0da2c4 100644
--- a/gn3/computations/correlations.py
+++ b/gn3/computations/correlations.py
@@ -47,7 +47,7 @@ def normalize_values(a_values: List, b_values: List) -> Generator:
"""
for a_val, b_val in zip(a_values, b_values):
- if (a_val and b_val is not None):
+ if (a_val is not None) and (b_val is not None):
yield a_val, b_val