From c101b0738eee2954ce632920ac4e23625d14d1e5 Mon Sep 17 00:00:00 2001 From: Cedric Porter Date: Tue, 31 Jul 2012 15:55:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EffectLab/core.c | 2 +- TestEffectLab.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EffectLab/core.c b/EffectLab/core.c index cdedbfe..714b23d 100644 --- a/EffectLab/core.c +++ b/EffectLab/core.c @@ -3,7 +3,7 @@ #include #include "ImPlatform.h" -/* 1.9.1 pil */ +/* 1.1.9 pil */ typedef struct ImagingMemoryInstance* Imaging; typedef struct ImagingAccessInstance* ImagingAccess; diff --git a/TestEffectLab.py b/TestEffectLab.py index 9126d0b..9665d52 100755 --- a/TestEffectLab.py +++ b/TestEffectLab.py @@ -99,5 +99,5 @@ def main(): t = Timer('test()', 'from __main__ import test') - print avg(t.repeat(3, 100)) + print sum(t.repeat(3, 100)) / 3