/src/main/java/net/finmath/optimizer/StochasticLevenbergMarquardt.java
parameterTest = initialParameters.clone( ) ;parameterCurrent = parameterTest.clone( ) ;
parameterCurrent = parameterTest.clone ( ) ;
while(true) { iteration++; prepareAndSetValues(parameterTest, valueTest); final double errorMeanSquaredTest = getMeanSquaredError(valueTest); final boolean isPointAccepted = errorMeanSquaredCurrent > errorMeanSquaredTest; if(isPointAccepted) { <extra_id_0> valueCurrent = valueTest.clone(); errorRootMeanSquaredChange = Math.sqrt(errorMeanSquaredCurrent) - Math.sqrt(errorMeanSquaredTest); errorMeanSquaredCurrent = errorMeanSquaredTest; } if (done()) { break;