fixed misleading number formats in error messages for adaptive stepsize integrators

JIRA: MATH-291

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811328 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2009-09-04 09:44:54 +00:00
parent c4ed905d02
commit abb6fb94bd
3 changed files with 7 additions and 3 deletions

View File

@ -289,8 +289,8 @@ public class MessagesResources_fr
"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})," +

View File

@ -263,7 +263,7 @@ public abstract class AdaptiveStepsizeIntegrator
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));
}
}

View File

@ -39,6 +39,10 @@ The <action> type attribute can be add,update,fix,remove.
</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>