You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2002/10/04 15:58:28 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/lib ExsltMath.java

mkwan       2002/10/04 06:58:28

  Modified:    java/src/org/apache/xalan/lib ExsltMath.java
  Log:
  Minor fix for math:max().
  
  Revision  Changes    Path
  1.7       +1 -1      xml-xalan/java/src/org/apache/xalan/lib/ExsltMath.java
  
  Index: ExsltMath.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/lib/ExsltMath.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ExsltMath.java	23 Sep 2002 16:22:40 -0000	1.6
  +++ ExsltMath.java	4 Oct 2002 13:58:28 -0000	1.7
  @@ -106,7 +106,7 @@
       if (nl == null || nl.getLength() == 0)
         return Double.NaN;
         
  -    double m = Double.MIN_VALUE;
  +    double m = - Double.MAX_VALUE;
       for (int i = 0; i < nl.getLength(); i++)
       {
         Node n = nl.item(i);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org