You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/02/26 00:21:42 UTC
[incubator-datasketches-cpp] branch master updated: disambiguation
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new cd7afc8 disambiguation
cd7afc8 is described below
commit cd7afc80509887fe6aea1ef9752c3e2b17b38197
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Tue Feb 25 16:21:31 2020 -0800
disambiguation
---
python/src/cpc_wrapper.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/src/cpc_wrapper.cpp b/python/src/cpc_wrapper.cpp
index 9031ba4..9017010 100644
--- a/python/src/cpc_wrapper.cpp
+++ b/python/src/cpc_wrapper.cpp
@@ -76,7 +76,7 @@ void init_cpc(py::module &m) {
py::class_<cpc_union>(m, "cpc_union")
.def(py::init<uint8_t, uint64_t>(), py::arg("lg_k"), py::arg("seed")=DEFAULT_SEED)
.def(py::init<const cpc_union&>())
- .def("update", &cpc_union::update, py::arg("sketch"))
+ .def("update", (void (cpc_union::*)(const cpc_sketch&)) &cpc_union::update, py::arg("sketch"))
.def("get_result", &dspy::cpc_union_get_result)
;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org