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

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


The following commit(s) were added to refs/heads/master by this push:
     new fccb238  Fix error message for empty window data in compressor (#482)
fccb238 is described below

commit fccb2385f3a66416fc34c0d7bd0513696721ecd9
Author: tison <[email protected]>
AuthorDate: Thu Feb 5 21:44:05 2026 +0800

    Fix error message for empty window data in compressor (#482)
---
 cpc/include/cpc_compressor_impl.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpc/include/cpc_compressor_impl.hpp 
b/cpc/include/cpc_compressor_impl.hpp
index 062e2e0..0cc24b1 100644
--- a/cpc/include/cpc_compressor_impl.hpp
+++ b/cpc/include/cpc_compressor_impl.hpp
@@ -157,7 +157,7 @@ void cpc_compressor<A>::compress(const cpc_sketch_alloc<A>& 
source, compressed_s
       break;
     case cpc_sketch_alloc<A>::flavor::PINNED:
       compress_pinned_flavor(source, result);
-      if (result.window_data.size() == 0) throw std::logic_error("window is 
not expected");
+      if (result.window_data.size() == 0) throw std::logic_error("window is 
expected");
       break;
     case cpc_sketch_alloc<A>::flavor::SLIDING:
       compress_sliding_flavor(source, result);


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

Reply via email to