Skip to content
Snippets Groups Projects
Commit 173c8fd6 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

add export for len()

parent 5153f051
Branches
Tags
No related merge requests found
......@@ -50,6 +50,7 @@ void export_hmm()
;
class_<HMM, HMMPtr>("HMM", init<>())
.def("__len__",&HMM::size)
.def("Load", &HMM::Load).staticmethod("Load")
.def("AddColumn", &HMM::push_back)
.def("Extract", &HMM::Extract)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment