Fixed bugs in cocycle.py introduced when rips-pairwise-cohomology.py was originally added
--- a/examples/cohomology/cocycle.py Mon Aug 10 15:22:32 2009 -0700
+++ b/examples/cohomology/cocycle.py Mon Aug 10 16:48:13 2009 -0700
@@ -6,7 +6,8 @@
from sys import argv, exit
import os.path
-def smooth(boundary_list, cocycle_list, vertexmap_list):
+def smooth(boundary_list, cocycle_list, vertices):
+ vertices = [v[1] for v in vertices]
dimension = max((max(d[1], d[2]) for d in boundary_list))
dimension += 1