Commit 6cef5f93 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files expose lbinom()/lbinom_fast()

parent 7470ea4f
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
#include "numpy_bind.hh" #include "numpy_bind.hh"
#include "hash_map_wrap.hh" #include "hash_map_wrap.hh"
#include "support/util.hh"
using namespace std; using namespace std;
using namespace boost; using namespace boost;
using namespace graph_tool; using namespace graph_tool;
...@@ -273,4 +275,7 @@ BOOST_PYTHON_MODULE(libgraph_tool_inference) ...@@ -273,4 +275,7 @@ BOOST_PYTHON_MODULE(libgraph_tool_inference)
def("vector_rmapdouble", vector_rmap<double>); def("vector_rmapdouble", vector_rmap<double>);
def("vector_contiguous_map", vector_contiguous_map<int32_t>); def("vector_contiguous_map", vector_contiguous_map<int32_t>);
def("vector_contiguous_map64", vector_contiguous_map<int64_t>); def("vector_contiguous_map64", vector_contiguous_map<int64_t>);
def("lbinom", lbinom<size_t, size_t>);
def("lbinom_fast", lbinom_fast<true, size_t, size_t>);
} }
Supports Markdown
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