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 2009/07/07 09:07:24 UTC
svn commit: r791723 -
/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java
Author: luc
Date: Tue Jul 7 07:07:23 2009
New Revision: 791723
URL: http://svn.apache.org/viewvc?rev=791723&view=rev
Log:
removed tabs
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java
Modified: commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java?rev=791723&r1=791722&r2=791723&view=diff
==============================================================================
--- commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java (original)
+++ commons/proper/math/trunk/src/java/org/apache/commons/math/ode/sampling/NordsieckStepInterpolator.java Tue Jul 7 07:07:23 2009
@@ -88,7 +88,7 @@
nordsieck = new Array2DRowRealMatrix(interpolator.nordsieck.getDataRef(), true);
}
if (interpolator.stateVariation != null) {
- stateVariation = interpolator.stateVariation.clone();
+ stateVariation = interpolator.stateVariation.clone();
}
}
@@ -174,10 +174,10 @@
*/
public double[] getInterpolatedStateVariation()
throws DerivativeException {
- // compute and ignore interpolated state
- // to make sure state variation is computed as a side effect
- getInterpolatedState();
- return stateVariation;
+ // compute and ignore interpolated state
+ // to make sure state variation is computed as a side effect
+ getInterpolatedState();
+ return stateVariation;
}
/** {@inheritDoc} */
@@ -205,8 +205,8 @@
}
for (int j = 0; j < currentState.length; ++j) {
- stateVariation[j] += scaled[j] * normalizedAbscissa;
- interpolatedState[j] = currentState[j] + stateVariation[j];
+ stateVariation[j] += scaled[j] * normalizedAbscissa;
+ interpolatedState[j] = currentState[j] + stateVariation[j];
interpolatedDerivatives[j] =
(interpolatedDerivatives[j] + scaled[j] * normalizedAbscissa) / x;
}