Commit c7f374b4 authored by Joe Jevnik's avatar Joe Jevnik

Fix py3 issue in IPython Cython magic

parent 059e4a0f
...@@ -257,7 +257,7 @@ class CythonMagics(Magics): ...@@ -257,7 +257,7 @@ class CythonMagics(Magics):
if need_cythonize: if need_cythonize:
c_include_dirs = args.include c_include_dirs = args.include
c_src_files = map(str, args.src) c_src_files = list(map(str, args.src))
if 'numpy' in code: if 'numpy' in code:
import numpy import numpy
c_include_dirs.append(numpy.get_include()) c_include_dirs.append(numpy.get_include())
......
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