You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/10/30 21:10:13 UTC

[incubator-datasketches-cpp] branch req_sketch updated: fixed the random engine output type

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

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


The following commit(s) were added to refs/heads/req_sketch by this push:
     new bf0ccce  fixed the random engine output type
bf0ccce is described below

commit bf0ccceabb5d87b0794512043f290dbbd067e74d
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Oct 30 14:09:19 2020 -0700

    fixed the random engine output type
---
 req/include/req_common.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/req/include/req_common.hpp b/req/include/req_common.hpp
index 45eb51a..1797a36 100755
--- a/req/include/req_common.hpp
+++ b/req/include/req_common.hpp
@@ -26,7 +26,7 @@
 namespace datasketches {
 
 // TODO: have a common random bit with KLL
-static std::independent_bits_engine<std::mt19937, 1, uint8_t> req_random_bit(std::chrono::system_clock::now().time_since_epoch().count());
+static std::independent_bits_engine<std::mt19937, 1, unsigned> req_random_bit(std::chrono::system_clock::now().time_since_epoch().count());
 
 namespace req_constants {
   static const uint32_t MIN_K = 4;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org