You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2019/11/26 08:07:09 UTC

[incubator-datasketches-cpp] branch hll_docs updated: fix a few typos that broke compilation

This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch hll_docs
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git


The following commit(s) were added to refs/heads/hll_docs by this push:
     new bf05c2f  fix a few typos that broke compilation
bf05c2f is described below

commit bf05c2feee859b3a3efb76498f6a0d810b119298
Author: Jon Malkin <jm...@apache.org>
AuthorDate: Tue Nov 26 00:05:49 2019 -0800

    fix a few typos that broke compilation
---
 hll/include/hll.hpp | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/hll/include/hll.hpp b/hll/include/hll.hpp
index 409fcf5..a7e1ff5 100644
--- a/hll/include/hll.hpp
+++ b/hll/include/hll.hpp
@@ -604,6 +604,12 @@ class hll_union_alloc {
                           bool all = false) const;
 
     /**
+     * Update this union operator iwth the given sketch.
+     * @param The given sketch.
+     */
+    void update(const hll_sketch_alloc<A>& sketch);
+  
+    /**
      * Present the given std::string as a potential unique item.
      * The string is converted to a byte array using UTF8 encoding.
      * If the string is null or empty no update attempt is made and the method returns.
@@ -678,7 +684,6 @@ class hll_union_alloc {
      */
     void update(const void* data, size_t length_bytes);
 
-
     /**
      * Returns the maximum size in bytes that this union operator can grow to given a lg_k.
      *
@@ -686,7 +691,7 @@ class hll_union_alloc {
      * between 4 and 21 inclusively.
      * @return the maximum size in bytes that this union operator can grow to.
      */
-    sta`tic int get_max_serialization_bytes(int lg_k);
+    static int get_max_serialization_bytes(int lg_k);
 
     /**
      * Gets the current (approximate) Relative Error (RE) asymptotic values given several


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org