--- a/bindings/python/persistence-diagram.cpp Wed Dec 08 10:29:26 2010 -0800
+++ b/bindings/python/persistence-diagram.cpp Mon Dec 20 11:21:57 2010 -0800
@@ -52,7 +52,7 @@
}
-RealType bottleneck_distnace_adapter(const dp::PersistenceDiagramD& dgm1, const dp::PersistenceDiagramD& dgm2)
+RealType bottleneck_distance_adapter(const dp::PersistenceDiagramD& dgm1, const dp::PersistenceDiagramD& dgm2)
{
return bottleneck_distance(dgm1, dgm2);
}
@@ -69,5 +69,5 @@
.def("__len__", &dp::PersistenceDiagramD::size)
;
- bp::def("bottleneck_distance", &bottleneck_distnace_adapter);
+ bp::def("bottleneck_distance", &bottleneck_distance_adapter);
}