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

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

commit ca3da05e99003b9bf62d99dd4d04aef8e5986bbb
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Thu Nov 16 14:34:31 2023 -0800

    typo
---
 sampling/include/ebpps_sample.hpp | 2 +-
 sampling/include/ebpps_sketch.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sampling/include/ebpps_sample.hpp 
b/sampling/include/ebpps_sample.hpp
index 13f79e6..2af4cab 100644
--- a/sampling/include/ebpps_sample.hpp
+++ b/sampling/include/ebpps_sample.hpp
@@ -37,7 +37,7 @@ class ebpps_sample {
   public:
     explicit ebpps_sample(uint32_t k, const A& allocator = A());
 
-    // constructor used to create a sample to merge one itme
+    // constructor used to create a sample to merge one time
     template<typename TT>
     ebpps_sample(TT&& item, double theta, const A& allocator = A());
 
diff --git a/sampling/include/ebpps_sketch.hpp 
b/sampling/include/ebpps_sketch.hpp
index 6531712..51bcc4f 100644
--- a/sampling/include/ebpps_sketch.hpp
+++ b/sampling/include/ebpps_sketch.hpp
@@ -43,7 +43,7 @@ namespace ebpps_constants {
  * From: "Exact PPS Sampling with Bounded Sample Size",
  * B. Hentschel, P. J. Haas, Y. Tian. Information Processing Letters, 2023.
  * 
- * This sketch samples data from a stream of items propotional to the weight 
of each item.
+ * This sketch samples data from a stream of items proportional to the weight 
of each item.
  * The sample guarantees the presence of an item in the result is proportional 
to that item's
  * portion of the total weight seen by the sketch, and returns a sample no 
larger than size k.
  * 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to