Skip to content

Commit

Permalink
[py] binding for CtcCN
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Oct 17, 2023
1 parent 5934288 commit c2dbb7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@

src/core/contractors/static/codac_py_Ctc.cpp
src/core/contractors/static/codac_py_CtcBox.cpp
src/core/contractors/static/codac_py_CtcCN.cpp
src/core/contractors/static/codac_py_CtcCartProd.cpp
src/core/contractors/static/codac_py_CtcDist.cpp
src/core/contractors/static/codac_py_CtcFunction.cpp
Expand Down
2 changes: 2 additions & 0 deletions python/codac_py_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ void export_IntervalVectorVar(py::module& m);

py::class_<Ctc,pyCtc> export_Ctc(py::module& m);
void export_CtcBox(py::module& m, py::class_<Ctc, pyCtc>& ctc);
void export_CtcCN(py::module& m, py::class_<Ctc, pyCtc>& ctc);
void export_CtcCartProd(py::module& m, py::class_<Ctc, pyCtc>& ctc);
void export_CtcDist(py::module& m, py::class_<Ctc, pyCtc>& ctc);
void export_CtcFunction(py::module& m, py::class_<Ctc, pyCtc>& ctc);
Expand Down Expand Up @@ -100,6 +101,7 @@ PYBIND11_MODULE(core, m)

py::class_<Ctc, pyCtc> ctc = export_Ctc(m);
export_CtcBox(m, ctc);
export_CtcCN(m, ctc);
export_CtcCartProd(m, ctc);
export_CtcDist(m, ctc);
export_CtcFunction(m, ctc);
Expand Down
2 changes: 1 addition & 1 deletion src/core/cn/codac_Variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace codac
IntervalVectorVar(int n)
: IntervalVector(n)
{

}

/**
Expand Down

0 comments on commit c2dbb7c

Please sign in to comment.