You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2012/02/15 21:45:49 UTC
svn commit: r1244699 -
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/nonstiff/AdaptiveStepsizeIntegrator.java
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);
}
}