This commit is contained in:
Marcel Kronfeld committed 2008-03-19 14:05:02 +00:00
1 parent 232113e061
commit b472f17428
1 file changed
+1 -1
@@ -225,7 +225,7 @@ public abstract class AbstractProblemDouble extends AbstractOptimizationProblem
double x[] = new double[getProblemDimension()];
for (int i=0; i<point.length; i++) x[i]=point[i];
for (int i=point.length; i<x.length; i++) x[i] = 0;
return Math.sqrt(eval(x)[0]);
return eval(x)[0];
}
/**********************************************************************************************************************
* These are for GUI