Author: luc
Date: Sun Jul 19 18:36:46 2009
New Revision: 795591
URL: http://svn.apache.org/viewvc?rev=795591&view=rev
Log:
fixed an error identified by findbugs
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java?rev=795591&r1=795590&r2=795591&view=diff
==============================================================================
---
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
(original)
+++
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.java
Sun Jul 19 18:36:46 2009
@@ -108,8 +108,8 @@
this.scalAbsoluteTolerance = 0;
this.scalRelativeTolerance = 0;
- this.vecAbsoluteTolerance = vecAbsoluteTolerance;
- this.vecRelativeTolerance = vecRelativeTolerance;
+ this.vecAbsoluteTolerance = vecAbsoluteTolerance.clone();
+ this.vecRelativeTolerance = vecRelativeTolerance.clone();
resetInternalState();