Skip to content

Commit 3c1ea0e

Browse files
committed
Update optional argument
1 parent a393af8 commit 3c1ea0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cryptomite/pycryptomite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ PYBIND11_MODULE(_cryptomite, m) {
2828

2929
py::class_<NTT>(m, "NTT")
3030
.def(py::init<int>())
31-
.def("ntt", &NTT::ntt)
31+
.def("ntt", &NTT::ntt, py::arg("x"), py::arg("inverse"), py::arg("plusone") = false)
3232
.def("mul_vec", &NTT::mul_vec)
3333
.def("conv", &NTT::conv)
3434
.def("conv_and_reduce", &NTT::conv_and_reduce)

0 commit comments

Comments
 (0)