proost commented on code in PR #734:
URL: https://github.com/apache/datasketches-java/pull/734#discussion_r3235500940


##########
src/main/java/org/apache/datasketches/req/ReqSerDe.java:
##########
@@ -205,7 +205,7 @@ static final Compactor extractCompactor(final 
PositionalSegment posSeg, final bo
     final float[] arr = new float[count];
     posSeg.getFloatArray(arr, 0, count);
     float minItem = Float.MAX_VALUE;
-    float maxItem = Float.MIN_VALUE;
+    float maxItem = -Float.MAX_VALUE;

Review Comment:
   
[d67731a](https://github.com/apache/datasketches-java/pull/734/commits/d67731a309a28e2c7bad4571b9c318c5599476b0)
   
   Oh, I was wrong. I changed like other sketches or Update method. 
   
   And also add Infinity cases



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to