Fixed a typo in b/p/persistence-diagram.cpp dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Mon, 20 Dec 2010 11:21:57 -0800
branchdev
changeset 239 cda36c58ef98
parent 238 79bf90c0200d
child 240 ae6319bfb53d
Fixed a typo in b/p/persistence-diagram.cpp
bindings/python/persistence-diagram.cpp
--- 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);
 }