提交 249eb506 authored 作者: Benjamin Scellier's avatar Benjamin Scellier 提交者: Nicolas Ballas

file theano/gof/cc.py

上级 824cb369
...@@ -11,7 +11,7 @@ import os ...@@ -11,7 +11,7 @@ import os
import sys import sys
import logging import logging
import numpy import numpy as np
import theano import theano
from theano import config from theano import config
...@@ -1347,7 +1347,7 @@ class CLinker(link.Linker): ...@@ -1347,7 +1347,7 @@ class CLinker(link.Linker):
# We must always add the numpy ABI version here as # We must always add the numpy ABI version here as
# DynamicModule always add the include <numpy/arrayobject.h> # DynamicModule always add the include <numpy/arrayobject.h>
sig.append('NPY_ABI_VERSION=0x%X' % sig.append('NPY_ABI_VERSION=0x%X' %
numpy.core.multiarray._get_ndarray_c_version()) np.core.multiarray._get_ndarray_c_version())
if c_compiler: if c_compiler:
sig.append('c_compiler_str=' + c_compiler.version_str()) sig.append('c_compiler_str=' + c_compiler.version_str())
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论