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

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

commit e50566a3dbab265082705891e2ab283c39748117
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Thu Dec 15 19:56:50 2022 -0800

    added estimation mode to text summary
---
 density/include/density_sketch_impl.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/density/include/density_sketch_impl.hpp 
b/density/include/density_sketch_impl.hpp
index f33110f..b3c29eb 100755
--- a/density/include/density_sketch_impl.hpp
+++ b/density/include/density_sketch_impl.hpp
@@ -156,6 +156,7 @@ string<A> density_sketch<T, K, A>::to_string(bool 
print_levels, bool print_items
   os << "   Empty          : " << (is_empty() ? "true" : "false") << std::endl;
   os << "   N              : " << n_ << std::endl;
   os << "   Retained items : " << num_retained_ << std::endl;
+  os << "   Estimation mode: " << (is_estimation_mode() ? "true" : "false") << 
std::endl;
   os << "   Levels         : " << levels_.size() << std::endl;
   os << "### End sketch summary" << std::endl;
 


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

Reply via email to