commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r811328 - in /commons/proper/math/trunk/src: main/java/org/apache/commons/math/MessagesResources_fr.java main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java site/xdoc/changes.xml
Date Fri, 04 Sep 2009 09:44:54 GMT
Author: luc
Date: Fri Sep  4 09:44:54 2009
New Revision: 811328

URL: http://svn.apache.org/viewvc?rev=811328&view=rev
Log:
fixed misleading number formats in error messages for adaptive stepsize integrators
JIRA: MATH-291

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
    commons/proper/math/trunk/src/site/xdoc/changes.xml

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java?rev=811328&r1=811327&r2=811328&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/MessagesResources_fr.java
Fri Sep  4 09:44:54 2009
@@ -289,8 +289,8 @@
       "impossible de rendre la matrice orthogonale en {0} it\u00e9rations" },
 
     // org.apache.commons.math.ode.nonstiff.AdaptiveStepsizeIntegrator
-    { "minimal step size ({0}) reached, integration needs {1}",
-      "pas minimal ({0}) atteint, l''int\u00e9gration n\u00e9cessite {1}" },
+    { "minimal step size ({0,number,0.00E00}) reached, integration needs {1,number,0.00E00}",
+      "pas minimal ({0,number,0.00E00}) atteint, l''int\u00e9gration n\u00e9cessite {1,number,0.00E00}"
},
     { "dimensions mismatch: state vector has dimension {0}," +
       " absolute tolerance vector has dimension {1}",
       "incompatibilit\u00e9 de dimensions entre le vecteur d''\u00e9tat ({0})," +

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java?rev=811328&r1=811327&r2=811328&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Fri Sep  4 09:44:54 2009
@@ -263,7 +263,7 @@
               filteredH = forward ? minStep : -minStep;
           } else {
               throw new IntegratorException(
-                      "minimal step size ({0}) reached, integration needs {1}",
+                      "minimal step size ({0,number,0.00E00}) reached, integration needs
{1,number,0.00E00}",
                       minStep, Math.abs(h));
           }
       }

Modified: commons/proper/math/trunk/src/site/xdoc/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/site/xdoc/changes.xml?rev=811328&r1=811327&r2=811328&view=diff
==============================================================================
--- commons/proper/math/trunk/src/site/xdoc/changes.xml (original)
+++ commons/proper/math/trunk/src/site/xdoc/changes.xml Fri Sep  4 09:44:54 2009
@@ -39,6 +39,10 @@
   </properties>
   <body>
     <release version="2.1" date="TBD" description="TBD">
+      <action dev="luc" type="fix" issue="MATH-291" due-to="Sebb">
+        Fixed misleading number formats in error messages for adaptive
+        stepsize integrators.
+      </action>
       <action dev="psteitz" tyoe="add" issue="MATH-287" due-to="Matthew Rowles">
         Added support for weighted descriptive statistics.
       </action>



Mime
View raw message