From 01b8c7b075770693b19659cf4fea5338185af4f8 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sun, 4 Dec 2011 15:31:31 +0000 Subject: Fix snapdiff ae method. --- scripts/snapdiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/snapdiff.py b/scripts/snapdiff.py index 13e5069..9253d16 100755 --- a/scripts/snapdiff.py +++ b/scripts/snapdiff.py @@ -87,7 +87,7 @@ class Comparer: bits = -math.log(rel_error)/math.log(2.0) return bits - def ae(self): + def ae(self, fuzz = 0.05): # Compute absolute error # TODO: this is approximate due to the grayscale conversion h = self.diff.convert('L').histogram() -- cgit v1.2.3