[Scipy-svn] r5152 - trunk/scipy/spatial

scipy-svn@scip... scipy-svn@scip...
Thu Nov 20 13:24:43 CST 2008


Author: ptvirtan
Date: 2008-11-20 13:24:32 -0600 (Thu, 20 Nov 2008)
New Revision: 5152

Modified:
   trunk/scipy/spatial/distance.py
Log:
Fix bad latex in docstrings

Modified: trunk/scipy/spatial/distance.py
===================================================================
--- trunk/scipy/spatial/distance.py	2008-11-19 11:57:01 UTC (rev 5151)
+++ trunk/scipy/spatial/distance.py	2008-11-20 19:24:32 UTC (rev 5152)
@@ -181,7 +181,7 @@
 
     .. math::
 
-       {||u-v||}_p = (\sum {|u_i - v_i|^p})^(1/p).
+       {||u-v||}_p = (\sum{|u_i - v_i|^p})^{1/p}.
 
     :Parameters:
        u : ndarray
@@ -208,7 +208,7 @@
 
     .. math::
 
-       \left(\sum {(w_i*|u_i - v_i|\right)^p}^(1/p).
+       \left(\sum{(w_i |u_i - v_i|^p)}\right)^{1/p}.
 
     :Parameters:
        u : ndarray



More information about the Scipy-svn mailing list