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

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


The following commit(s) were added to refs/heads/cleanup-before-5.0.0 by this 
push:
     new af97406  fixed test
af97406 is described below

commit af974069f3ce0bfb46dabfa86a4086ff80ddd786
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Tue Oct 31 15:54:04 2023 -0700

    fixed test
---
 tuple/test/tuple_jaccard_similarity_test.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tuple/test/tuple_jaccard_similarity_test.cpp 
b/tuple/test/tuple_jaccard_similarity_test.cpp
index 0d35a94..37def78 100644
--- a/tuple/test/tuple_jaccard_similarity_test.cpp
+++ b/tuple/test/tuple_jaccard_similarity_test.cpp
@@ -25,7 +25,9 @@
 
 namespace datasketches {
 
-using tuple_jaccard_similarity_float = tuple_jaccard_similarity<float, 
default_union_policy<float>>;
+// there is no default policy for intersection
+// let's combine values the same way as in union for testing
+using tuple_jaccard_similarity_float = tuple_jaccard_similarity<float, 
default_tuple_union_policy<float>>;
 
 TEST_CASE("tuple jaccard: empty", "[tuple_sketch]") {
   auto sk_a = update_tuple_sketch<float>::builder().build();


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

Reply via email to