summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--phstuff/barcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/phstuff/barcode.py b/phstuff/barcode.py
index 9442a87..095533f 100644
--- a/phstuff/barcode.py
+++ b/phstuff/barcode.py
@@ -43,7 +43,7 @@ def finitize(barcode, max_scale):
def betti_curve(barcode, min_scale, max_scale):
xs = []
- for interval in pd:
+ for interval in barcode:
xs.append((interval.l, 1))
if interval.is_finite():
xs.append((interval.u, -1))