提交 4dacb9e7 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #3106 from harlouci/flake8_v5

flake8 for theano/tensor/blas_headers.py
...@@ -79,8 +79,10 @@ def detect_macos_sdot_bug(): ...@@ -79,8 +79,10 @@ def detect_macos_sdot_bug():
""") """)
_logger.debug('Trying to compile and run test case.') _logger.debug('Trying to compile and run test case.')
compilation_ok, run_ok = GCC_compiler.try_compile_tmp(test_code, compilation_ok, run_ok = GCC_compiler.try_compile_tmp(
tmp_prefix='detect_macos_sdot_bug_', flags=flags, try_run=True) test_code,
tmp_prefix='detect_macos_sdot_bug_',
flags=flags, try_run=True)
detect_macos_sdot_bug.tested = True detect_macos_sdot_bug.tested = True
# If compilation failed, we consider there is a bug, # If compilation failed, we consider there is a bug,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论