diff options
-rw-r--r-- | benchmarks/benchmarks/common.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/benchmarks/common.py b/benchmarks/benchmarks/common.py index 066d4b130..18a09fd40 100644 --- a/benchmarks/benchmarks/common.py +++ b/benchmarks/benchmarks/common.py @@ -22,8 +22,9 @@ TYPES1 = [ 'int32', 'float32', 'int64', 'float64', 'complex64', 'longfloat', 'complex128', - 'complex256', ] +if 'complex256' in numpy.typeDict: + TYPES1.append('complex256') def memoize(func): |