diff options
author | Jarrod Millman <millman@berkeley.edu> | 2007-12-15 20:35:18 +0000 |
---|---|---|
committer | Jarrod Millman <millman@berkeley.edu> | 2007-12-15 20:35:18 +0000 |
commit | 1c913bc6a7334e69bacf2bf1021ee6d03340a9fd (patch) | |
tree | d34818de85d8a17da8fa209555eb9b643ef8d00c /benchmarks/benchmark.py | |
parent | 02ee35a7e1c722a1cdac8f3a60fe9ef7aa079a37 (diff) | |
download | numpy-1c913bc6a7334e69bacf2bf1021ee6d03340a9fd.tar.gz |
updating to us import numpy as np convention
Diffstat (limited to 'benchmarks/benchmark.py')
-rw-r--r-- | benchmarks/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/benchmark.py b/benchmarks/benchmark.py index 59e464686..526a69d58 100644 --- a/benchmarks/benchmark.py +++ b/benchmarks/benchmark.py @@ -17,7 +17,7 @@ class Benchmark(dict): modules = [module] for m in modules: - setup_str = 'import %s; import %s as N; ' % (m,m) \ + setup_str = 'import %s; import %s as np; ' % (m,m) \ + setup_str self.module_test[m] = Timer(test_str, setup_str) |