[pypy-commit] extradoc extradoc: Ups

fijal noreply at buildbot.pypy.org
Wed Oct 17 09:53:13 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: extradoc
Changeset: r4867:8b79fd6c918d
Date: 2012-10-17 09:52 +0200
http://bitbucket.org/pypy/extradoc/changeset/8b79fd6c918d/

Log:	Ups

diff --git a/talk/dls2012/benchmarks/image/sobel.py b/talk/dls2012/benchmarks/image/sobel.py
--- a/talk/dls2012/benchmarks/image/sobel.py
+++ b/talk/dls2012/benchmarks/image/sobel.py
@@ -27,7 +27,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] = sqrt(dx*dx + dy*dy) / 1.5
+        res[p] = sqrt(dx*dx + dy*dy) / 4.0
     return res
 
 def uint8(img):


More information about the pypy-commit mailing list