From 422198312688e4d176c87a6aced9020280588c6d Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Fri, 26 Jun 2009 04:47:17 +0000 Subject: [PATCH] SOLR-1246 git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@788571 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/handler/component/StatsComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/handler/component/StatsComponent.java b/src/java/org/apache/solr/handler/component/StatsComponent.java index 5fe8102d216..8d0c74a33a7 100644 --- a/src/java/org/apache/solr/handler/component/StatsComponent.java +++ b/src/java/org/apache/solr/handler/component/StatsComponent.java @@ -247,7 +247,7 @@ class StatsValues { public void reset(){ min = Double.MAX_VALUE; - max = Double.MIN_VALUE; + max = Double.NEGATIVE_INFINITY; sum = count = missing = 0; sumOfSquares = 0; facets = null;