commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1244699 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Date Wed, 15 Feb 2012 20:45:49 GMT
Author: luc
Date: Wed Feb 15 20:45:49 2012
New Revision: 1244699

URL: http://svn.apache.org/viewvc?rev=1244699&view=rev
Log:
Fixed reversed parameters in an error message.

Thanks to Dennis Hendriks for pointing this out.

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java?rev=1244699&r1=1244698&r2=1244699&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java
(original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Wed Feb 15 20:45:49 2012
@@ -324,7 +324,7 @@ public abstract class AdaptiveStepsizeIn
               filteredH = forward ? minStep : -minStep;
           } else {
               throw new NumberIsTooSmallException(LocalizedFormats.MINIMAL_STEPSIZE_REACHED_DURING_INTEGRATION,
-                                                  minStep, FastMath.abs(h), true);
+                                                  FastMath.abs(h), minStep, true);
           }
       }
 



Mime
View raw message