fixed visibility of setMultiStart,

it should be called only from within the minimizes methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@574081 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2007-09-09 21:38:13 +00:00
parent df73324161
commit 5ae04469dc
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ public abstract class DirectSearchOptimizer {
* equal to 1
* @param generator random vector generator to use for restarts
*/
public void setMultiStart(int starts, RandomVectorGenerator generator) {
private void setMultiStart(int starts, RandomVectorGenerator generator) {
if (starts < 2) {
this.starts = 1;
this.generator = null;