This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new 99811ad deploy: 253eacf6e8973c7be868e521a507546541e5d907
99811ad is described below
commit 99811ad53ca9dd51f84438152ac8a045db65cf66
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Tue Oct 17 22:17:18 2023 +0000
deploy: 253eacf6e8973c7be868e521a507546541e5d907
---
docs/master/theta__intersection__base__impl_8hpp_source.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/master/theta__intersection__base__impl_8hpp_source.html
b/docs/master/theta__intersection__base__impl_8hpp_source.html
index b650318..c9f8942 100644
--- a/docs/master/theta__intersection__base__impl_8hpp_source.html
+++ b/docs/master/theta__intersection__base__impl_8hpp_source.html
@@ -120,7 +120,7 @@ $(function() {
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> 
<span class="keywordflow">if</span> (!is_valid_) { <span class="comment">//
first update, copy or move incoming sketch</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> 
is_valid_ = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> 
<span class="keyword">const</span> uint8_t lg_size =
lg_size_from_count(sketch.get_num_retained(), theta_update_sketch_base<EN,
EK, A>::REBUILD_THRESHOLD);</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> 
table_ = hash_table(lg_size, lg_size, resize_factor::X1, 1, table_.theta_,
table_.seed_, table_.allocator_, table_.is_empty_);</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> 
table_ = hash_table(lg_size, lg_size - 1, resize_factor::X1, 1,
table_.theta_, table_.seed_, table_.allocator_, table_.is_empty_);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> 
<span class="keywordflow">for</span> (<span
class="keyword">auto</span>&& entry: sketch) {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> 
<span class="keyword">auto</span> result = table_.find(EK()(entry));</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> 
<span class="keywordflow">if</span> (result.second) {</div>
@@ -159,8 +159,8 @@ $(function() {
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> 
<span class="keywordflow">if</span> (table_.theta_ ==
theta_constants::MAX_THETA) table_.is_empty_ = <span
class="keyword">true</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> 
} <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> 
<span class="keyword">const</span> uint8_t lg_size =
lg_size_from_count(match_count, theta_update_sketch_base<EN, EK,
A>::REBUILD_THRESHOLD);</div>
-<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> 
table_ = hash_table(lg_size, lg_size, resize_factor::X1, 1, table_.theta_,
table_.seed_, table_.allocator_, table_.is_empty_);</div>
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> 
<span class="keywordflow">for</span> (uint32_t i = 0; i < match_count;
i++) {</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> 
table_ = hash_table(lg_size, lg_size - 1, resize_factor::X1, 1,
table_.theta_, table_.seed_, table_.allocator_, table_.is_empty_);</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> 
<span class="keywordflow">for</span> (uint32_t i = 0; i < match_count;
++i) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> 
<span class="keyword">auto</span> result =
table_.find(EK()(matched_entries[i]));</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> 
table_.insert(result.first, std::move(matched_entries[i]));</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> 
}</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]