[pypy-commit] extradoc extradoc: typo in the name

fijal noreply at buildbot.pypy.org
Wed Oct 12 21:23:09 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: extradoc
Changeset: r3926:5533b3925882
Date: 2011-10-12 21:22 +0200
http://bitbucket.org/pypy/extradoc/changeset/5533b3925882/

Log:	typo in the name

diff --git a/blog/draft/numpy-statups-update.rst b/blog/draft/numpy-status-update.rst
rename from blog/draft/numpy-statups-update.rst
rename to blog/draft/numpy-status-update.rst
diff --git a/talk/iwtc11/benchmarks/image/sobel.py b/talk/iwtc11/benchmarks/image/sobel.py
--- a/talk/iwtc11/benchmarks/image/sobel.py
+++ b/talk/iwtc11/benchmarks/image/sobel.py
@@ -44,7 +44,7 @@
              -1.0 * img[p + (-1, 1)] + 1.0 * img[p + (1, 1)]
         dy = -1.0*img[p + (-1,-1)] -2.0*img[p + (0,-1)] -1.0*img[p + (1,-1)] + \
               1.0*img[p + (-1, 1)] +2.0*img[p + (0, 1)] +1.0*img[p + (1, 1)]
-        res[p] = min(int(sqrt(dx*dx + dy*dy) / 4.0), 255)
+        res[p] = min(int(sqrt(dx*dx + dy*dy) / 2.0), 255)
     return res
 
 def main(args):


More information about the pypy-commit mailing list