Skip to content

Commit

Permalink
Issue #15 and #17: added missing numpy::initialize to module
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzhoshkun Ismail Shakir committed Mar 24, 2017
1 parent f5ffc28 commit a5f55bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ BOOST_PYTHON_MODULE(pymycpp)
{
PyEval_InitThreads();

numpy::initialize();

register_exception_translator<FileError>(&translate_FileError);

class_<CimageWrapper, boost::noncopyable>(
Expand Down

0 comments on commit a5f55bb

Please sign in to comment.