/src/main/java/net/finmath/optimizer/OptimizerFactoryCMAES.java
for( final int value : values) {
for ( final double value : values ) {
try { objectiveFunction.setValues(parameters, values); } catch (final SolverException e) { return Double.NaN; } double rms = 0; <extra_id_0> rms += value*value; } return Math.sqrt(rms); } @Override public org.apache.commons.math3.optim.nonlinear.scalar.GoalType getGoalType() {