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 2023/02/10 22:12:04 UTC

[datasketches-java] 02/03: fixed theta extraction V4

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

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

commit c50c5febafbc540208dff257e2f85ecd7e5c0d52
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Fri Feb 10 14:11:14 2023 -0800

    fixed theta extraction V4
---
 src/main/java/org/apache/datasketches/theta/PreambleUtil.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/datasketches/theta/PreambleUtil.java b/src/main/java/org/apache/datasketches/theta/PreambleUtil.java
index 3c34b356..b2686142 100644
--- a/src/main/java/org/apache/datasketches/theta/PreambleUtil.java
+++ b/src/main/java/org/apache/datasketches/theta/PreambleUtil.java
@@ -411,7 +411,7 @@ final class PreambleUtil {
   }
 
   static long extractThetaLongV4(final Memory mem) {
-    return mem.getLong(THETA_LONG);
+    return mem.getLong(THETA_LONG_V4);
   }
 
   /**


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