Commit ac4f248b authored by Stefan Behnel's avatar Stefan Behnel

use absolute import for numpy in fused types code

parent bc61d5e2
......@@ -559,6 +559,10 @@ class FusedCFuncDefNode(StatListNode):
""")
decl_code.indent()
pyx_code.put_chunk(
u"""
from __future__ import absolute_import # for later numpy import
""")
pyx_code.put_chunk(
u"""
def __pyx_fused_cpdef(signatures, args, kwargs, defaults):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment