More typos in the docs dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Tue, 13 Apr 2010 09:09:04 -0700
branchdev
changeset 210 e84354d3a6c9
parent 209 324354e0d3bf
child 211 347b3461965a
More typos in the docs
doc/python/rips.rst
--- a/doc/python/rips.rst	Mon Apr 12 19:01:01 2010 -0700
+++ b/doc/python/rips.rst	Tue Apr 13 09:09:04 2010 -0700
@@ -74,7 +74,7 @@
         def __len__(self):
             return len(self.points)
 
-        def __call__(self, x, y):
+        def __call__(self, p1, p2):
             return self.norm([x - y for (x,y) in zip(self.points[p1], self.points[p2])])
 
 Another distances class is available that speeds up the computation of the Rips
@@ -87,7 +87,7 @@
     distances = ExplicitDistances(distances)
 
 With :class:`PairwiseDistances` being a C++ class, and
-:class:`ExplicitDistances` being pure Python, the speead-up seems minor.
+:class:`ExplicitDistances` being pure Python, the speed-up seems minor.
 
 
 Example