Skip to content

Commit

Permalink
BUG: only benchmark complex256 if it exists
Browse files Browse the repository at this point in the history
Only benchmark complex256 type if numpy has it (MSVC windows builds do
not).
  • Loading branch information
matthew-brett committed Feb 14, 2016
1 parent 47b6c2b commit f570f27
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/benchmarks/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
'int32', 'float32',
'int64', 'float64', 'complex64',
'longfloat', 'complex128',
'complex256',
]
if 'complex256' in numpy.typeDict:
TYPES1.append('complex256')


def memoize(func):
Expand Down

0 comments on commit f570f27

Please sign in to comment.